/* INT Creative Brand Variables */
:root {
    /* Primary Colors */
    --forest-green: #0B3D2E;
    --primary-green: #1B3A2F;
    
    /* Secondary Colors */
    --sage-green: #A8BFA3;
    --accent-moss: #4A7C59;
    
    /* Neutral Colors */
    --warm-beige: #F5F0E6;
    --background-light: #F9F9F7;
    --deep-charcoal: #1C1C1C;
    
    /* Accent Colors */
    --soft-copper: #C56B47;
    --gold-ochre: #C29D49;
    
    /* Spacing System */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-xxl: 48px;
    --spacing-xxxl: 64px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--deep-charcoal);
    overflow-x: hidden;
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Typography - Brand Guidelines */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* H1 Headlines */
h1, .section-title {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* H2 Subheadings */
h2, .section-subtitle {
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 400;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* H3 Section Headers */
h3 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(20px, 3vw, 22px);
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 1rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* Body Text */
p, .body-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: 400;
    line-height: 1.7;
    color: var(--deep-charcoal);
    margin-bottom: 1rem;
}

/* Navigation & CTAs */
.nav-link, .btn, .cta-text {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 2vw, 16px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.accent-text {
    color: var(--forest-green);
}

/* Buttons - Brand Guidelines */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 2vw, 16px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--accent-moss) 100%);
    color: var(--warm-beige);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(11, 61, 46, 0.2);
    min-contrast: 4.5;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 61, 46, 0.3);
    background: linear-gradient(135deg, var(--accent-moss) 0%, var(--forest-green) 100%);
    color: white;
}

.btn-outline {
    border: 2px solid var(--forest-green);
    color: var(--forest-green);
    background: var(--warm-beige);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-outline:hover {
    background-color: var(--forest-green);
    color: var(--warm-beige);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 61, 46, 0.3);
}

/* Navigation - Brand Guidelines */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--warm-beige);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--sage-green);
    box-shadow: 0 2px 10px rgba(11, 61, 46, 0.1);
}

.navbar.scrolled {
    background: rgba(245, 240, 230, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(11, 61, 46, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-logo a:hover {
    transform: translateY(-1px);
}

.logo-image {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.nav-logo a:hover .logo-image {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    color: var(--forest-green);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.logo-accent {
    color: var(--accent-moss);
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--forest-green);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    background: transparent;
    border-radius: 8px;
    font-size: 1rem;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: var(--warm-beige);
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 61, 46, 0.2);
}

.nav-link.active {
    color: var(--warm-beige);
    background-color: var(--accent-moss);
    border-color: var(--accent-moss);
    font-weight: 600;
}

.nav-link.active:hover {
    background-color: var(--forest-green);
    border-color: var(--forest-green);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: var(--forest-green);
    border-radius: 4px;
    border: none;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--warm-beige);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--primary-green) 50%, var(--sage-green) 100%);
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="50" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="30" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 46, 0.2);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Simple Hero Layout */
.hero-text {
    text-align: center;
    color: var(--warm-beige);
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--warm-beige);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
    margin-bottom: 0.2rem;
    line-height: 0.9;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--warm-beige);
}

.section-header {
    margin-bottom: 4rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.mission-statement {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--forest-green);
    font-style: italic;
    font-weight: 500;
    margin: 0;
    padding: var(--spacing-lg);
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent-moss);
}

.core-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.principle-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.08);
    transition: all 0.3s ease;
}

.principle-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(11, 61, 46, 0.12);
}

.principle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--sage-green);
    color: var(--forest-green);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.principle-item h4 {
    color: var(--forest-green);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.principle-item p {
    color: var(--deep-charcoal);
    line-height: 1.6;
    margin: 0;
}

.brand-values {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.value-item {
    padding: var(--spacing-lg);
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--forest-green);
    box-shadow: 0 2px 10px rgba(11, 61, 46, 0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11, 61, 46, 0.15);
}

.value-word {
    display: block;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-description {
    display: block;
    color: var(--deep-charcoal);
    line-height: 1.6;
}

/* Patterns Section */
.patterns {
    padding: 6rem 0;
    background: white;
}

.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.pattern-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 8px;
    border: 1px solid var(--sage-green);
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pattern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--forest-green);
}

.pattern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(11, 61, 46, 0.12);
    border-color: var(--forest-green);
}

.pattern-icon {
    width: 60px;
    height: 60px;
    background: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pattern-icon i {
    font-size: 1.5rem;
    color: var(--warm-beige);
}

.pattern-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--forest-green);
}

.pattern-card p {
    color: var(--deep-charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
}

.pattern-features {
    list-style: none;
}

.pattern-features li {
    padding: 0.5rem 0;
    color: var(--deep-charcoal);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.pattern-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-moss);
    font-weight: bold;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    background: var(--warm-beige);
    border-radius: 8px;
    padding: var(--spacing-xl);
    border-left: 4px solid var(--forest-green);
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.08);
    transition: all 0.3s ease;
    height: fit-content;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(11, 61, 46, 0.12);
    border-left-color: var(--accent-moss);
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--sage-green);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-beige);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-header h3 {
    flex: 1;
    margin: 0;
    color: var(--forest-green);
    font-size: 1.4rem;
}

.service-duration {
    background: var(--sage-green);
    color: var(--forest-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.service-description {
    margin-bottom: var(--spacing-lg);
}

.service-description p {
    color: var(--deep-charcoal);
    font-style: italic;
    line-height: 1.7;
    margin: 0;
}

.service-process,
.service-ideal {
    margin-bottom: var(--spacing-lg);
}

.service-process h4,
.service-ideal h4 {
    color: var(--forest-green);
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.service-process ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-process li {
    padding: 0.4rem 0;
    color: var(--deep-charcoal);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.service-process li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-moss);
    font-weight: bold;
}

.service-ideal p {
    color: var(--deep-charcoal);
    line-height: 1.6;
    margin: 0;
}

.services-note {
    text-align: center;
    background: rgba(11, 61, 46, 0.05);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--sage-green);
    margin-top: var(--spacing-xl);
}

.services-note p {
    margin: 0;
    color: var(--deep-charcoal);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: var(--background-light);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--warm-beige);
    color: var(--forest-green);
    border: 2px solid var(--sage-green);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
    background: var(--forest-green);
    color: var(--warm-beige);
    border-color: var(--forest-green);
    transform: translateY(-1px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.08);
    transition: all 0.3s ease;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(11, 61, 46, 0.9), rgba(27, 58, 47, 0.8));
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay h4 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-overlay p {
    color: white;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tags span {
    background: rgba(245, 240, 230, 0.2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(245, 240, 230, 0.3);
}

.portfolio-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(11, 61, 46, 0.12);
}

.portfolio-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--sage-green);
}

.client-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-beige);
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

.client-info h4 {
    margin: 0 0 0.3rem 0;
    color: var(--forest-green);
    font-size: 1.2rem;
}

.client-context {
    color: var(--accent-moss);
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.challenge-description,
.mirror-observation,
.recursive-discovery,
.integration-outcome {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: 6px;
}

.challenge-description {
    background: rgba(197, 107, 71, 0.05);
    border-left: 3px solid var(--soft-copper);
}

.mirror-observation {
    background: rgba(11, 61, 46, 0.05);
    border-left: 3px solid var(--forest-green);
}

.recursive-discovery {
    background: rgba(74, 124, 89, 0.05);
    border-left: 3px solid var(--accent-moss);
}

.integration-outcome {
    background: rgba(194, 157, 73, 0.05);
    border-left: 3px solid var(--gold-ochre);
}

.challenge-description h4,
.mirror-observation h4,
.recursive-discovery h4,
.integration-outcome h4 {
    color: var(--forest-green);
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.5rem 0;
}

.challenge-description p,
.mirror-observation p,
.recursive-discovery p,
.integration-outcome p {
    margin: 0;
    color: var(--deep-charcoal);
    line-height: 1.6;
    font-size: 0.95rem;
}

.mirror-observation p {
    font-style: italic;
}

.timeline {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--sage-green);
}

.duration {
    background: var(--sage-green);
    color: var(--forest-green);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.portfolio-note {
    text-align: center;
    background: rgba(11, 61, 46, 0.05);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid var(--sage-green);
    margin-top: var(--spacing-xl);
}

.portfolio-note p {
    margin: 0;
    color: var(--deep-charcoal);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Integration Section */
.integration {
    padding: 6rem 0;
    background: var(--forest-green);
}

.integration .section-title,
.integration .section-subtitle {
    color: var(--warm-beige);
}

.integration-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(245, 240, 230, 0.2);
    color: var(--warm-beige);
    border: 1px solid rgba(245, 240, 230, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(245, 240, 230, 0.3);
    border-color: var(--warm-beige);
    transform: translateY(-1px);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.integration-item {
    background: var(--warm-beige);
    border-radius: 8px;
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-moss);
}

.integration-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.integration-header {
    margin-bottom: var(--spacing-md);
}

.integration-header h4 {
    font-size: 1.3rem;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.pattern-type {
    display: inline-block;
    background: var(--sage-green);
    color: var(--forest-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mirror-insight,
.recursive-depth,
.integration-result {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: 6px;
    line-height: 1.6;
}

.mirror-insight {
    background: rgba(11, 61, 46, 0.05);
    border-left: 3px solid var(--forest-green);
}

.recursive-depth {
    background: rgba(74, 124, 89, 0.05);
    border-left: 3px solid var(--accent-moss);
}

.integration-result {
    background: rgba(197, 107, 71, 0.05);
    border-left: 3px solid var(--soft-copper);
}

.mirror-insight p,
.recursive-depth p,
.integration-result p {
    margin: 0;
    color: var(--deep-charcoal);
    font-size: 0.95rem;
}

.mirror-insight strong,
.recursive-depth strong,
.integration-result strong {
    color: var(--forest-green);
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--warm-beige);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.mirror-prompt {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    border-left: 4px solid var(--forest-green);
    margin-bottom: var(--spacing-lg);
}

.mirror-prompt h4 {
    color: var(--forest-green);
    margin-bottom: 1rem;
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reflection-questions {
    list-style: none;
    padding: 0;
}

.reflection-questions li {
    padding: 0.5rem 0;
    color: var(--deep-charcoal);
    position: relative;
    padding-left: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.reflection-questions li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-moss);
    font-weight: bold;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(11, 61, 46, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-beige);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--forest-green);
}

.contact-details p {
    color: var(--deep-charcoal);
    line-height: 1.6;
}

.parasympathetic-note {
    background: rgba(11, 61, 46, 0.05);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--sage-green);
}

.parasympathetic-note p {
    margin: 0;
    color: var(--deep-charcoal);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    background: white;
    padding: var(--spacing-xl);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(11, 61, 46, 0.08);
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--forest-green);
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--sage-green);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: var(--background-light);
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--forest-green);
    background: white;
}

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

/* Footer */
.footer {
    background: var(--deep-charcoal);
    color: var(--warm-beige);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--forest-green);
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul li a:hover {
    color: var(--forest-green);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-tagline {
    margin-top: 1rem;
}

.footer-tagline p {
    color: var(--forest-green);
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-values p {
    color: #ccc;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.footer-values a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-values a:hover {
    color: var(--forest-green);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #333;
    color: #888;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Floating Navigation Sidebar */
.floating-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-nav-toggle {
    width: 50px;
    height: 50px;
    background: var(--forest-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-beige);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.3);
    transition: all 0.3s ease;
    border: 3px solid var(--sage-green);
}

.floating-nav-toggle:hover {
    background: var(--accent-moss);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(11, 61, 46, 0.4);
}

.floating-nav-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.floating-nav.active .floating-nav-toggle i {
    transform: rotate(180deg);
}

.floating-nav-content {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(11, 61, 46, 0.2);
    border: 2px solid var(--sage-green);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(20px);
    transition: all 0.3s ease;
}

.floating-nav.active .floating-nav-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.floating-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--sage-green);
    background: linear-gradient(135deg, var(--forest-green), var(--accent-moss));
    border-radius: 10px 10px 0 0;
}

.floating-nav-header h4 {
    color: var(--warm-beige);
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.floating-nav-close {
    background: none;
    border: none;
    color: var(--warm-beige);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.floating-nav-close:hover {
    background: rgba(245, 240, 230, 0.2);
    transform: scale(1.1);
}

.floating-nav-links {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.floating-nav-links li {
    margin: 0;
}

.floating-nav-divider {
    height: 1px;
    background: var(--sage-green);
    margin: 0.5rem 1rem;
}

.floating-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--deep-charcoal);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.floating-nav-link:hover {
    background: var(--warm-beige);
    border-left-color: var(--accent-moss);
    transform: translateX(3px);
}

.floating-nav-link.active {
    background: var(--forest-green);
    border-left-color: var(--forest-green);
    color: white;
    font-weight: 600;
}

.floating-nav-link.service-link {
    font-size: 0.85rem;
    opacity: 0.9;
}

.floating-nav-link.service-link:hover {
    opacity: 1;
    background: var(--sage-green);
}

.floating-nav-link.service-link.active {
    background: var(--forest-green);
    color: white;
    opacity: 1;
}

.floating-nav-link i {
    width: 16px;
    text-align: center;
    color: var(--accent-moss);
}

.floating-nav-link.active i {
    color: var(--forest-green);
}

.floating-nav-link.contact-link,
.floating-nav-link.services-link,
.floating-nav-link.home-link {
    background: linear-gradient(135deg, var(--soft-copper), var(--gold-ochre));
    color: white;
    margin: 0.25rem 0.5rem;
    border-radius: 6px;
    border-left: 3px solid transparent;
    font-weight: 600;
}

.floating-nav-link.contact-link:hover,
.floating-nav-link.services-link:hover,
.floating-nav-link.home-link:hover {
    background: linear-gradient(135deg, var(--gold-ochre), var(--soft-copper));
    transform: translateX(0) scale(1.02);
}

.floating-nav-link.contact-link i,
.floating-nav-link.services-link i,
.floating-nav-link.home-link i {
    color: white;
}

@keyframes pulse {
    0% { 
        box-shadow: 0 4px 20px rgba(11, 61, 46, 0.3);
    }
    50% { 
        box-shadow: 0 6px 30px rgba(11, 61, 46, 0.5);
    }
    100% { 
        box-shadow: 0 4px 20px rgba(11, 61, 46, 0.3);
    }
}

.floating-nav-toggle {
    animation: pulse 3s ease-in-out infinite;
}

.floating-nav-toggle:hover {
    animation: none;
}

/* Mobile Responsive for Floating Nav */
@media (max-width: 768px) {
    .floating-nav {
        right: 15px;
        bottom: 20px;
        top: auto;
        transform: none;
    }
    
    .floating-nav-content {
        right: 0;
        bottom: 70px;
        top: auto;
        transform: translateY(20px);
        width: 250px;
    }
    
    .floating-nav.active .floating-nav-content {
        transform: translateY(0);
    }
    
    .floating-nav-toggle {
        width: 45px;
        height: 45px;
    }
    
    .floating-nav-toggle i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .floating-nav {
        right: 10px;
        bottom: 15px;
    }
    
    .floating-nav-content {
        width: 240px;
        right: -190px;
    }
    
    .floating-nav.active .floating-nav-content {
        right: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .process-arrow {
        display: none;
    }
    
    .patterns-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
}

/* Layout Optimizations for Better Page Fit */

/* Ensure proper box-sizing for all elements */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Optimize container spacing */
.container {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* Responsive section padding */
section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

/* Grid optimizations */
.patterns-grid,
.services-grid,
.portfolio-grid,
.core-principles,
.stats-grid,
.advantages-grid {
    display: grid;
    gap: clamp(20px, 4vw, 32px);
    padding: 0 clamp(4px, 2vw, 16px);
}

/* Responsive grid columns */
.patterns-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
}

.portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.core-principles {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    max-width: 800px;
    margin: 0 auto;
}

/* Card optimizations */
.pattern-card,
.service-card,
.portfolio-card,
.principle-item,
.stat-item {
    min-height: auto;
    padding: clamp(20px, 4vw, 32px);
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* Process steps responsive layout */
.process-steps {
    display: grid;
    gap: clamp(20px, 4vw, 32px);
    margin-top: clamp(32px, 6vw, 48px);
    padding: 0 clamp(8px, 2vw, 16px);
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        align-items: center;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

.process-step {
    background: white;
    padding: clamp(24px, 4vw, 32px);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(11, 61, 46, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 200px;
}

/* Hero section optimization */
.hero {
    min-height: clamp(60vh, 80vh, 1000px);
    padding: clamp(60px, 12vh, 120px) 0 clamp(20px, 4vh, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Contact section optimization */
.contact-content {
    display: grid;
    gap: clamp(32px, 8vw, 64px);
    margin-top: clamp(32px, 6vw, 48px);
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: clamp(24px, 4vw, 40px);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Typography optimizations */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    margin-bottom: clamp(16px, 3vw, 24px);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(16px, 2vw, 24px);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: clamp(24px, 4vw, 32px);
}

/* Button optimizations */
.btn {
    padding: clamp(12px, 2vw, 16px) clamp(20px, 4vw, 32px);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

.hero-buttons {
    display: flex;
    gap: clamp(16px, 3vw, 24px);
    margin-top: clamp(24px, 4vw, 32px);
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile-specific optimizations */
@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-arrow {
        display: none;
    }
    
    .patterns-grid,
    .services-grid,
    .portfolio-grid,
    .core-principles {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* Small mobile optimizations */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: clamp(32px, 8vw, 48px) 0;
    }
    
    .pattern-card,
    .service-card,
    .portfolio-card,
    .principle-item {
        padding: 20px 16px;
    }
    
    .process-step {
        padding: 20px 16px;
        min-height: auto;
    }
    
    .hero {
        min-height: 60vh;
        padding: 80px 0 20px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .logo-image {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-accent {
        font-size: 0.6rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .process-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

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

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

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

    .integration-filters,
    .portfolio-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

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

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

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

    .integration-item,
    .portfolio-card,
    .service-card {
        max-width: 100%;
    }

    .patterns-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
}

/* Smooth scrolling and performance optimizations */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
.btn:focus,
input:focus,
textarea:focus,
.nav-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .scroll-indicator {
        display: none;
    }
} 

/* Process Overview Section */
.process-overview {
    padding: 6rem 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 2rem;
    margin: 4rem 0;
}

.process-step {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(11, 61, 46, 0.15);
    border-color: var(--accent-moss);
}

.loop-stage[data-stage="dump"]:hover {
    border-color: var(--accent-moss);
}

.loop-stage[data-stage="mirror"]:hover {
    border-color: var(--forest-green);
}

.loop-stage[data-stage="recurse"]:hover {
    border-color: var(--soft-copper);
}

.loop-stage[data-stage="integrate"]:hover {
    border-color: var(--gold-ochre);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--accent-moss) 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(11, 61, 46, 0.3);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--forest-green);
    font-weight: 600;
}

.process-step > p {
    font-size: 0.9rem;
    color: var(--accent-moss);
    margin-bottom: 1rem;
    font-weight: 500;
}

.step-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--deep-charcoal);
    opacity: 0.8;
    flex-grow: 1;
}

.process-arrow {
    font-size: 2rem;
    color: var(--forest-green);
    font-weight: bold;
    flex-shrink: 0;
}

.process-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Mirror Loop Methodology Section */
.mirror-loop {
    padding: 6rem 0;
    background: var(--background-light);
}

.methodology-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.methodology-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--deep-charcoal);
}

.methodology-stages {
    display: grid;
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

.stage-detail {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.08);
    transition: all 0.3s ease;
}

.stage-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(11, 61, 46, 0.12);
}

.stage-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.stage-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--forest-green);
    color: var(--warm-beige);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat Alternates', sans-serif;
}

.stage-header h3 {
    color: var(--forest-green);
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.stage-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--deep-charcoal);
    margin-bottom: var(--spacing-md);
}

.stage-example {
    background: var(--warm-beige);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--accent-moss);
    font-style: italic;
    margin-top: var(--spacing-md);
}

.stage-example strong {
    color: var(--forest-green);
    font-style: normal;
}

.methodology-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--warm-beige);
    border-radius: 12px;
}

.methodology-cta p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--forest-green);
    font-weight: 600;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--forest-green);
    color: var(--warm-beige);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--warm-beige);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--warm-beige);
    opacity: 0.9;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-studies .section-header {
    color: var(--warm-beige);
}

.case-studies .section-title {
    color: var(--warm-beige);
}

.case-studies .section-subtitle {
    color: var(--warm-beige);
    opacity: 0.9;
}

.case-studies-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.case-studies-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--warm-beige);
    opacity: 0.9;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.case-study-card {
    background: var(--warm-beige);
    color: var(--deep-charcoal);
    border-radius: 12px;
    padding: var(--spacing-xl);
    border-left: 4px solid var(--gold-ochre);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-left-color: var(--soft-copper);
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--sage-green);
}

.client-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--forest-green);
    color: var(--warm-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Montserrat Alternates', sans-serif;
}

.client-info h4 {
    color: var(--forest-green);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.client-context {
    color: var(--deep-charcoal);
    opacity: 0.7;
    font-size: 0.9rem;
}

.case-study-content {
    margin-bottom: var(--spacing-lg);
}

.dump-section, .mirror-section, .recurse-section, .integrate-section {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: 8px;
}

.dump-section {
    background: rgba(75, 124, 89, 0.1);
    border-left: 3px solid var(--accent-moss);
}

.mirror-section {
    background: rgba(11, 61, 46, 0.1);
    border-left: 3px solid var(--forest-green);
}

.recurse-section {
    background: rgba(197, 107, 71, 0.1);
    border-left: 3px solid var(--soft-copper);
}

.integrate-section {
    background: rgba(194, 157, 73, 0.1);
    border-left: 3px solid var(--gold-ochre);
}

.case-study-content h5 {
    color: var(--forest-green);
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.case-study-content p {
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.case-study-footer {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--sage-green);
}

.duration {
    color: var(--forest-green);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Montserrat Alternates', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-studies-note {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(245, 240, 230, 0.1);
    border-radius: 8px;
}

.case-studies-note p {
    color: var(--warm-beige);
    opacity: 0.8;
    font-style: italic;
    margin: 0;
}

/* Responsive adjustments for Mirror Loop sections */
@media (max-width: 768px) {
    .mirror-loop-diagram {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .loop-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .loop-stage {
        min-width: 100%;
        max-width: 100%;
    }
    
    .methodology-stages {
        gap: var(--spacing-lg);
    }
    
    .stage-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .stage-header h3 {
        font-size: 1.5rem;
    }
    
    .core-principles {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .process-steps {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .process-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
} 

/* Hero Badge */
.hero-badge {
    background: rgba(245, 240, 230, 0.2);
    border: 1px solid rgba(245, 240, 230, 0.3);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.6;
    margin: 0 auto 2.5rem;
    max-width: 700px;
    color: var(--warm-beige);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 240, 230, 0.2);
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-moss);
    margin-bottom: 0.25rem;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Side Content */
/* Removed complex side content styles - keeping it simple */

/* Simple Services Section */
.hero-services {
    background: linear-gradient(180deg, transparent 0%, rgba(245, 240, 230, 0.05) 100%);
    padding: 3rem 0;
}

.services-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--warm-beige);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

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

.service-item {
    text-align: center;
    color: var(--warm-beige);
    transition: all 0.3s ease;
}

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

.service-item i {
    font-size: 2.5rem;
    color: var(--accent-moss);
    margin-bottom: 1rem;
    display: block;
}

.service-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Updated Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--warm-beige);
    text-align: center;
    z-index: 3;
}

.scroll-indicator i {
    display: block;
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

.scroll-indicator span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Hero Animations */
@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
} 

/* Simple Hero Responsive */
@media (max-width: 1024px) {
    .patterns-grid,
    .core-principles,
    .portfolio-grid,
    .stats-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 50px;
    }
    
    .patterns-grid,
    .core-principles,
    .portfolio-grid,
    .stats-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Simplified Service Cards */
.service-card-simple {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
    justify-content: space-between;
}

.service-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(11, 61, 46, 0.15);
    border-color: var(--accent-moss);
}

.service-card-simple .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--accent-moss) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card-simple:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(11, 61, 46, 0.3);
}

.service-card-simple .service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card-simple h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--forest-green);
    font-weight: 600;
}

.service-card-simple .btn {
    margin-top: auto;
}

/* Enhanced Grid Alignment for Four-Column Layout */
.patterns-grid,
.core-principles,
.services-grid,
.portfolio-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Ensure all cards have consistent height and alignment */
.pattern-card,
.principle-item,
.service-card-simple,
.portfolio-card,
.stat-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

/* Consistent card spacing and alignment */
.pattern-card,
.principle-item,
.service-card-simple {
    min-height: 320px;
    padding: 2rem;
    text-align: center;
}

.portfolio-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-image {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats cards alignment */
.stat-item {
    min-height: 150px;
    justify-content: center;
}

/* Enhanced Centering for All Website Elements */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content,
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-statement {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.process-cta {
    text-align: center;
    margin-top: 3rem;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

.portfolio-filters {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
}

/* Responsive Process Steps Grid */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        min-height: 280px;
    }
}

/* Enhanced Process Steps Styling for Perfect 4-Column Layout */
.process-steps {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    align-items: stretch;
    gap: 2rem;
    margin: 4rem 0;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    position: relative;
    width: 100%;
}

/* Remove any process arrows that might still exist */
.process-arrow,
.process-steps .process-arrow {
    display: none !important;
}

/* Force proper spacing and alignment */
.process-overview .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== EYE-CATCHING HERO SECTION ===== */

/* Hero Container */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0B3D2E 0%, #1a5f47 25%, #2d7a5f 50%, #3d8f73 75%, #4da587 100%);
    background-size: 400% 400%;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        background-position: 0% 50%;
        background-size: 400% 400%;
    }
    50% { 
        background-position: 100% 50%;
        background-size: 450% 450%;
    }
}

/* Background Layers Container */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Animated Gradient Mesh Layer */
.gradient-mesh-layer {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 191, 163, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(74, 124, 89, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(197, 107, 71, 0.2) 0%, transparent 70%),
        radial-gradient(circle at 70% 60%, rgba(194, 157, 73, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(168, 191, 163, 0.15) 0%, transparent 80%),
        radial-gradient(circle at 30% 10%, rgba(74, 124, 89, 0.2) 0%, transparent 90%);
    animation: meshFlow 25s ease-in-out infinite;
    will-change: transform;
}

/* Enhanced gradient mesh animation */
@keyframes meshFlow {
    0%, 100% { 
        transform: translateX(0) translateY(0) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    20% { 
        transform: translateX(-2%) translateY(-1%) rotate(0.5deg) scale(1.02);
        opacity: 0.9;
    }
    40% { 
        transform: translateX(1%) translateY(-2%) rotate(-0.3deg) scale(0.98);
        opacity: 1;
    }
    60% { 
        transform: translateX(-1%) translateY(1%) rotate(0.8deg) scale(1.05);
        opacity: 0.85;
    }
    80% { 
        transform: translateX(2%) translateY(-1.5%) rotate(-0.4deg) scale(0.96);
        opacity: 0.95;
    }
}

@keyframes meshFloat {
    0%, 100% { 
        transform: translateX(0) translateY(0) rotate(0deg) scale(1); 
        opacity: 0.8;
    }
    25% { 
        transform: translateX(-3%) translateY(-2%) rotate(1deg) scale(1.05); 
        opacity: 0.9;
    }
    50% { 
        transform: translateX(2%) translateY(-3%) rotate(-0.5deg) scale(0.95); 
        opacity: 1;
    }
    75% { 
        transform: translateX(-1%) translateY(2%) rotate(0.8deg) scale(1.02); 
        opacity: 0.85;
    }
}

/* Digital Pattern Layer */
.digital-pattern-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    animation: patternPulse 18s linear infinite;
}

.circuit-pattern {
    width: 100%;
    height: 100%;
    max-width: none;
    filter: drop-shadow(0 0 10px rgba(74, 124, 89, 0.3));
}

/* Enhanced Circuit Nodes Animation */
.circuit-nodes .node {
    fill: var(--accent-moss);
    opacity: 0;
    animation: nodeActivate 1.2s ease-out forwards, nodePulse 4s ease-in-out infinite 2s;
    filter: url(#glow);
    transform-origin: center;
    transition: all 0.3s ease;
}

.circuit-nodes .node.secondary {
    fill: var(--sage-green);
    animation: nodeActivateSecondary 1s ease-out forwards, nodePulse 4s ease-in-out infinite 2.5s;
}

/* Continuous pulsing animation for nodes */
@keyframes nodePulse {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1);
        filter: drop-shadow(0 0 8px var(--accent-moss));
    }
    50% { 
        opacity: 1; 
        transform: scale(1.3);
        filter: drop-shadow(0 0 15px var(--accent-moss));
    }
}

@keyframes nodeActivate {
    0% { 
        opacity: 0; 
        transform: scale(0) rotate(180deg);
        filter: drop-shadow(0 0 0px var(--accent-moss));
    }
    30% { 
        opacity: 0.8; 
        transform: scale(1.8) rotate(90deg);
        filter: drop-shadow(0 0 15px var(--accent-moss));
    }
    60% {
        opacity: 1;
        transform: scale(0.8) rotate(45deg);
        filter: drop-shadow(0 0 12px var(--accent-moss));
    }
    100% { 
        opacity: 0.9; 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px var(--accent-moss));
    }
}

@keyframes nodeActivateSecondary {
    0% { 
        opacity: 0; 
        transform: scale(0);
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.3);
    }
    100% { 
        opacity: 0.7; 
        transform: scale(1);
    }
}

/* Enhanced Connection Lines Animation */
.circuit-connections .connection-line {
    fill: none;
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    opacity: 0;
    animation: connectionDraw 2.5s ease-out forwards;
}

.circuit-connections .connection-line.primary {
    stroke: url(#circuitGrad);
    stroke-width: 3;
    animation-duration: 3s;
}

.circuit-connections .connection-line.secondary {
    stroke: var(--sage-green);
    stroke-width: 2;
    animation-duration: 2s;
}

.circuit-connections .connection-line.tertiary {
    stroke: var(--accent-moss);
    stroke-width: 1.5;
    opacity: 0.6;
    animation-duration: 1.5s;
}

@keyframes connectionDraw {
    0% { 
        stroke-dashoffset: 1000; 
        opacity: 0;
    }
    20% { 
        opacity: 0.3;
    }
    60% { 
        opacity: 0.8;
    }
    100% { 
        stroke-dashoffset: 0; 
        opacity: 0.6;
    }
}

@keyframes patternPulse {
    0%, 100% { transform: translateX(0) translateY(0) scale(1); }
    50% { transform: translateX(-1%) translateY(-0.5%) scale(1.02); }
}

/* Enhanced Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(168, 191, 163, 0.15), rgba(74, 124, 89, 0.2));
    border: 1px solid rgba(168, 191, 163, 0.3);
    backdrop-filter: blur(5px);
    animation: floatShape 12s ease-in-out infinite;
}

.shape.hexagon {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 8%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation-delay: 0s;
    animation-duration: 15s;
}

.shape.triangle {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 12%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: -2s;
    animation-duration: 12s;
    background: linear-gradient(45deg, rgba(197, 107, 71, 0.2), rgba(194, 157, 73, 0.15));
}

.shape.circle {
    width: 50px;
    height: 50px;
    top: 60%;
    left: 15%;
    border-radius: 50%;
    animation-delay: -4s;
    animation-duration: 18s;
}

.shape.diamond {
    width: 70px;
    height: 70px;
    top: 40%;
    right: 20%;
    transform: rotate(45deg);
    animation-delay: -6s;
    animation-duration: 14s;
    background: linear-gradient(45deg, rgba(194, 157, 73, 0.2), rgba(168, 191, 163, 0.15));
}

.shape.pentagon {
    width: 65px;
    height: 65px;
    bottom: 25%;
    left: 25%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation-delay: -8s;
    animation-duration: 16s;
}

.shape.star {
    width: 55px;
    height: 55px;
    bottom: 15%;
    right: 8%;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation-delay: -10s;
    animation-duration: 20s;
    background: linear-gradient(45deg, rgba(197, 107, 71, 0.25), rgba(168, 191, 163, 0.2));
}

@keyframes floatShape {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.6;
    }
    20% { 
        transform: translateY(-20px) rotate(72deg) scale(1.05); 
        opacity: 0.7;
    }
    40% { 
        transform: translateY(-35px) rotate(144deg) scale(1.15); 
        opacity: 0.9;
    }
    60% { 
        transform: translateY(-15px) rotate(216deg) scale(0.95); 
        opacity: 1;
    }
    80% { 
        transform: translateY(-28px) rotate(288deg) scale(1.08); 
        opacity: 0.75;
    }
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(11, 61, 46, 0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(11, 61, 46, 0.05) 100%
    );
    z-index: 3;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    color: var(--warm-beige);
    padding: 2rem 0;
}

/* Showcase loaded state for smoother entrance */
.hero.showcase-loaded {
    animation-play-state: running;
}

.hero.showcase-loaded .hero-background {
    opacity: 1;
    transition: opacity 1s ease;
}

.hero.showcase-loaded .hero-content {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease 0.3s;
}

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

/* Trust Metrics */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: metricsSlideIn 1.2s ease-out 0.8s forwards;
}

.metric-item {
    background: rgba(245, 240, 230, 0.1);
    backdrop-filter: blur(15px);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(168, 191, 163, 0.3);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.metric-item:hover::before {
    left: 100%;
}

.metric-item:hover {
    background: rgba(245, 240, 230, 0.2);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(11, 61, 46, 0.3);
    border-color: rgba(194, 157, 73, 0.5);
}

.metric-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold-ochre);
    font-family: 'Montserrat Alternates', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--gold-ochre), var(--soft-copper), var(--warm-beige));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: var(--warm-beige);
    opacity: 0.95;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

@keyframes metricsSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(40px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Hero Title */
.hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: titleReveal 1.5s ease-out 1.2s forwards;
}

.brand-text {
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--gold-ochre) 30%, var(--soft-copper) 60%, var(--warm-beige) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    display: inline-block;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1) contrast(1); }
    50% { filter: brightness(1.1) contrast(1.2); }
}

@keyframes titleReveal {
    0% { 
        opacity: 0; 
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--warm-beige);
    opacity: 0;
    animation: subtitleFadeIn 1.2s ease-out 1.8s forwards;
}

.rotating-words {
    position: relative;
    color: var(--accent-moss);
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(74, 124, 89, 0.4);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, var(--accent-moss) 0%, var(--sage-green) 50%, var(--gold-ochre) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: wordGlow 3s ease-in-out infinite;
}

@keyframes wordGlow {
    0%, 100% { 
        filter: brightness(1) contrast(1);
        transform: scale(1);
    }
    50% { 
        filter: brightness(1.2) contrast(1.1);
        transform: scale(1.02);
    }
}

@keyframes subtitleFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(30px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Hero Description */
.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--warm-beige);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: descriptionFadeIn 1s ease-out 2.2s forwards;
}

@keyframes descriptionFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px);
    }
    100% { 
        opacity: 0.9; 
        transform: translateY(0);
    }
}

/* Enhanced CTA Buttons */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: ctaSlideUp 1.2s ease-out 2.6s forwards;
}

.floating-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--accent-moss) 50%, var(--forest-green) 100%);
    box-shadow: 
        0 10px 30px rgba(11, 61, 46, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: floatCTA 4s ease-in-out infinite;
    border: 2px solid var(--accent-moss);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.floating-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(11, 61, 46, 0.6),
        0 0 30px rgba(194, 157, 73, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--gold-ochre);
    background: linear-gradient(135deg, var(--accent-moss) 0%, var(--forest-green) 50%, var(--gold-ochre) 100%);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.floating-cta:hover .btn-glow {
    left: 100%;
}

.pulse-cta {
    position: relative;
    animation: pulseButton 3s ease-in-out infinite;
    background: transparent;
    border: 2px solid var(--sage-green);
    color: var(--warm-beige);
    transition: all 0.4s ease;
}

.pulse-cta:hover {
    background: var(--sage-green);
    color: var(--deep-charcoal);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(168, 191, 163, 0.4);
}

.btn-icon {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.floating-cta:hover .btn-icon {
    transform: translateX(5px) rotate(15deg);
}

.pulse-cta:hover .btn-icon {
    transform: translateY(3px);
}

@keyframes floatCTA {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseButton {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 191, 163, 0.5); }
    50% { box-shadow: 0 0 0 20px rgba(168, 191, 163, 0); }
}

@keyframes ctaSlideUp {
    0% { 
        opacity: 0; 
        transform: translateY(40px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: trustFadeIn 1s ease-out 3s forwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--warm-beige);
    opacity: 0.85;
    transition: all 0.4s ease;
    padding: 0.8rem 1.5rem;
    background: rgba(245, 240, 230, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(168, 191, 163, 0.2);
    backdrop-filter: blur(5px);
}

.trust-item:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
    background: rgba(245, 240, 230, 0.1);
    border-color: rgba(194, 157, 73, 0.4);
    box-shadow: 0 8px 25px rgba(11, 61, 46, 0.2);
}

.trust-item i {
    color: var(--gold-ochre);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(194, 157, 73, 0.5);
}

@keyframes trustFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--warm-beige);
    opacity: 0;
    animation: scrollFadeIn 1s ease-out 3.5s forwards;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--sage-green);
    border-radius: 15px;
    margin: 0 auto 1rem;
    position: relative;
    background: rgba(168, 191, 163, 0.1);
}

.scroll-wheel {
    width: 6px;
    height: 10px;
    background: var(--accent-moss);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { 
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% { 
        transform: translateX(-50%) translateY(15px);
        opacity: 0.3;
    }
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sage-green);
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -5px;
}

.scroll-arrows i {
    font-size: 0.8rem;
    color: var(--accent-moss);
    opacity: 0;
    animation: scrollArrows 2.5s ease-in-out infinite;
}

.scroll-arrows i:nth-child(1) {
    animation-delay: 0s;
}

.scroll-arrows i:nth-child(2) {
    animation-delay: 0.3s;
}

.scroll-arrows i:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes scrollArrows {
    0%, 100% { 
        opacity: 0; 
        transform: translateY(-10px);
    }
    20%, 80% { 
        opacity: 1; 
        transform: translateY(0);
    }
    40% { 
        opacity: 0.7; 
        transform: translateY(10px);
    }
}

@keyframes scrollFadeIn {
    0% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(30px);
    }
    100% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== ENHANCED HERO SECTION WITH DIGITAL INNOVATION SHOWCASE ===== */

/* Enhanced Hero Base Styles */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--forest-green);
}

/* Enhanced Gradient Mesh Background */
.gradient-mesh-layer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 30%, rgba(74, 124, 89, 0.4) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 70%, rgba(168, 191, 163, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(27, 58, 47, 0.5) 0%, transparent 70%);
    animation: meshFlow 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes meshFlow {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(120deg); }
    66% { transform: scale(0.9) rotate(240deg); }
}

/* Enhanced Digital Pattern Layer */
.digital-pattern-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 2;
}

.circuit-pattern {
    width: 100%;
    height: 100%;
}

/* Enhanced Circuit Nodes */
.circuit-nodes .node {
    fill: var(--accent-moss);
    opacity: 0;
    animation: nodePulse 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes nodePulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
        filter: drop-shadow(0 0 4px var(--accent-moss));
    }
    50% { 
        opacity: 1;
        transform: scale(1.5);
        filter: drop-shadow(0 0 12px var(--accent-moss));
    }
}

/* Enhanced Circuit Connections */
.circuit-connections .connection-line {
    stroke: var(--sage-green);
    stroke-width: 1;
    fill: none;
    opacity: 0;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: connectionFlow 6s ease-in-out infinite;
}

@keyframes connectionFlow {
    0% {
        opacity: 0;
        stroke-dashoffset: 300;
    }
    50% {
        opacity: 0.6;
        stroke-dashoffset: 0;
    }
    100% {
        opacity: 0;
        stroke-dashoffset: -300;
    }
}

/* Enhanced Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(245, 240, 230, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 240, 230, 0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 15%;
    animation: floatShape 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation: floatShape 30s ease-in-out infinite 2s;
}

@keyframes floatShape {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.05;
    }
    33% { 
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.08;
    }
    66% { 
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.03;
    }
}

/* Enhanced Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    padding: 2rem;
}

.hero-text {
    max-width: 1000px;
    margin: 0 auto;
}

/* Enhanced Hero Title */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--warm-beige);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    line-height: 1.1;
}

.title-line {
    display: block;
    margin-bottom: 0.2rem;
}

.accent-text {
    color: var(--sage-green);
    text-shadow: 0 0 20px rgba(168, 191, 163, 0.4);
}

/* Enhanced Rotating Words */
.hero-subtitle {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--warm-beige);
    margin-bottom: 1.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.rotating-words {
    font-weight: 600;
    color: var(--accent-moss);
    position: relative;
    display: inline-block;
    min-width: 150px;
    transition: all 0.3s ease;
    text-shadow: 0 0 15px rgba(74, 124, 89, 0.5);
}

/* Enhanced Hero Description */
.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(245, 240, 230, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

/* Enhanced Hero Metrics */
.hero-metrics {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.metric-item {
    text-align: center;
    color: var(--warm-beige);
    background: rgba(245, 240, 230, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(168, 191, 163, 0.2);
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(245, 240, 230, 0.1);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(194, 157, 73, 0.4);
    box-shadow: 0 10px 30px rgba(11, 61, 46, 0.2);
}

.metric-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--sage-green);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--sage-green), var(--gold-ochre));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Enhanced CTA Buttons */
.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.floating-cta {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, var(--forest-green), var(--accent-moss));
    box-shadow: 0 8px 25px rgba(11, 61, 46, 0.3);
    transition: all 0.3s ease;
}

.floating-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.floating-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(11, 61, 46, 0.4);
    background: linear-gradient(135deg, var(--accent-moss), var(--gold-ochre));
}

.floating-cta:hover::before {
    width: 300px;
    height: 300px;
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--warm-beige);
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.scroll-indicator i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Enhanced Mobile Optimizations */
@media (max-width: 768px) {
    .hero-metrics {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .metric-item {
        min-width: 200px;
        padding: 1rem 1.5rem;
    }
    
    .shape-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
    }
    
    .shape-3 {
        display: none;
    }
    
    .circuit-pattern {
        opacity: 0.2;
    }
    
    .gradient-mesh-layer {
        animation-duration: 30s;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }
    
    .hero-metrics {
        gap: 1.5rem;
    }
    
    .metric-item {
        min-width: 180px;
        padding: 0.8rem 1rem;
    }
    
    .metric-number {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
}

/* Performance Mode - Disable heavy animations on low-end devices */
.performance-mode .gradient-mesh-layer,
.performance-mode .floating-shapes,
.performance-mode .circuit-pattern {
    animation: none !important;
    display: none;
}

.performance-mode .hero {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--primary-green) 100%);
}

.performance-mode .metric-item {
    background: rgba(245, 240, 230, 0.1);
    backdrop-filter: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Simplify animations on mobile for performance */
    .gradient-mesh-layer {
        animation: none;
        opacity: 0.3;
    }
    
    .digital-pattern-layer {
        display: none;
    }
    
    .floating-shapes {
        display: none;
    }
    
    .hero {
        background: linear-gradient(135deg, #0B3D2E 0%, #1a5f47 50%, #2d7a5f 100%);
        background-size: 200% 200%;
        animation: backgroundShift 30s ease-in-out infinite;
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .metric-item {
        padding: 1rem 0.8rem;
    }
    
    .metric-number {
        font-size: 2.2rem;
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: clamp(2.8rem, 10vw, 4rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .trust-indicators {
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .trust-item {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
        gap: 0.6rem;
        flex: 1 1 auto;
        min-width: 140px;
        justify-content: center;
    }
    
    .trust-item i {
        font-size: 1rem;
    }
    
    .floating-cta,
    .pulse-cta {
        animation: none;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .metric-item {
        padding: 0.8rem 0.6rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
    
    .hero-content .container {
        padding: 0 1rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .gradient-mesh-layer,
    .digital-pattern-layer,
    .floating-shapes,
    .floating-cta,
    .pulse-cta,
    .brand-text {
        animation: none;
    }
    
    .circuit-nodes .node,
    .circuit-connections .connection-line {
        animation: none;
        opacity: 0.4;
    }
    
    .btn-glow,
    .scroll-wheel {
        display: none;
    }
}

/* ===== ENHANCED TEXT CONTRAST & READABILITY ===== */

/* Universal text contrast improvements */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure all text on dark backgrounds has proper contrast */
.hero,
.hero-content,
.hero-background,
.dark-section,
.process-overview,
.stats-section {
    color: white;
}

.hero h1,
.hero h2,
.hero h3,
.hero-title,
.hero-subtitle,
.hero-description {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.hero p,
.hero-text,
.hero-description {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 400;
    line-height: 1.7;
}

/* Button contrast improvements */
.hero .btn-primary {
    background: rgba(245, 240, 230, 0.95);
    color: var(--forest-green);
    border: 2px solid rgba(245, 240, 230, 0.95);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary:hover {
    background: white;
    color: var(--forest-green);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.hero .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.hero .btn-outline:hover {
    background: white;
    color: var(--forest-green);
    border-color: white;
}

/* Card text contrast */
.card h3,
.service-card h3,
.process-step h3,
.stat-card h3 {
    color: var(--forest-green);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card p,
.service-card p,
.process-step p,
.stat-card p {
    color: var(--deep-charcoal);
    line-height: 1.7;
    font-size: 1rem;
}

/* Navigation contrast improvements */
.navbar {
    background: var(--warm-beige);
    box-shadow: 0 2px 20px rgba(11, 61, 46, 0.15);
}

.nav-link {
    color: var(--forest-green) !important;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    background-color: var(--forest-green);
    border-radius: 8px;
}

.nav-link.active {
    color: white !important;
    background-color: var(--accent-moss);
    border-radius: 8px;
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
        background: var(--forest-green);
        border: none;
        padding: 0.75rem;
        border-radius: 8px;
        cursor: pointer;
    }
    
    .nav-toggle span {
        display: block;
        width: 22px;
        height: 3px;
        background: white;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--warm-beige);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 2px solid var(--sage-green);
        box-shadow: 0 4px 30px rgba(11, 61, 46, 0.2);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-item {
        margin: 0;
        border-bottom: 1px solid rgba(11, 61, 46, 0.1);
    }
    
    .nav-link {
        padding: 1.25rem 2rem !important;
        width: 100%;
        text-align: center;
        border-radius: 0 !important;
        font-size: 1.1rem;
        display: block;
        border: none !important;
        background: transparent !important;
        color: var(--forest-green) !important;
    }
    
    .nav-link:hover {
        background-color: rgba(11, 61, 46, 0.1) !important;
        color: var(--forest-green) !important;
    }
    
    .nav-link.active {
        background-color: var(--accent-moss) !important;
        color: white !important;
        font-weight: 700;
    }
}

/* Form elements contrast */
.contact-form,
.form-group {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(11, 61, 46, 0.1);
}

.form-label {
    color: var(--forest-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    background: white !important;
    border: 2px solid var(--sage-green) !important;
    color: var(--deep-charcoal) !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: var(--forest-green) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(11, 61, 46, 0.15) !important;
    background: white !important;
}

/* Section headers contrast */
.section-title {
    color: var(--forest-green) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.section-subtitle {
    color: var(--primary-green) !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Stats and metrics contrast */
.stat-number {
    color: var(--forest-green) !important;
    font-weight: 800 !important;
    font-size: 2.5rem !important;
}

.stat-label {
    color: var(--deep-charcoal) !important;
    font-weight: 500 !important;
}

/* Portfolio and service cards */
.portfolio-item h3,
.service-card-simple h3 {
    color: var(--forest-green) !important;
    font-weight: 700 !important;
}

.portfolio-item p,
.service-card-simple p {
    color: var(--deep-charcoal) !important;
    line-height: 1.7 !important;
}

/* Ensure proper contrast for all interactive elements */
.btn,
.button,
.cta-button {
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    min-height: 44px !important; /* Touch target size */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link {
        border: 2px solid var(--forest-green) !important;
    }
    
    .btn-primary {
        border: 3px solid var(--forest-green) !important;
    }
    
    .card, .service-card {
        border: 2px solid var(--accent-moss) !important;
    }
    
    input, textarea, select {
        border: 3px solid var(--forest-green) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .floating-nav,
    .nav-toggle {
        display: none !important;
    }
    
    .hero-title,
    .section-title {
        color: black !important;
        text-shadow: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Focus visibility for accessibility */
*:focus {
    outline: 3px solid var(--accent-moss) !important;
    outline-offset: 2px !important;
}

.nav-link:focus,
.btn:focus {
    outline: 3px solid white !important;
    outline-offset: 2px !important;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--forest-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 6px;
}

intcreativewebsite