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

/* CORRECTED :root block
  This now includes the required Ghost variables for custom fonts.
*/
:root {
    --gh-font-heading: var(--ghost-heading-font, 'Outfit', sans-serif);
--gh-font-body: var(--ghost-body-font, 'DM Sans', sans-serif);
    --primary-green: #22573D;
    --background-beige: #F7F5F2;
    --text-dark: #1C1C1C;
    --text-light: #6B7280;
    --white: #ffffff;
    --border-color: #e8e8e8;
    --success-green: #4CAF50;
    --accent-blue: #4A90E2;
    --gradient-green: linear-gradient(135deg, #22573D 0%, #4CAF50 100%);
}

/*
  CORRECTED body and heading font rules
  These now use the Ghost variables defined above.
*/
body {
    font-family: var(--gh-font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--gh-font-heading);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header - FIXED Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(232, 232, 232, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* --- Main Navigation Bar --- */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}

/* --- Logo Styles --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--gh-font-heading);
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-green);
    text-decoration: none;
    letter-spacing: -0.01em;
    z-index: 1001;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--gradient-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.footer-logo-img {
  max-height: 100px; /* Adjust this value to control the logo height */
  width: auto;      /* Maintains the aspect ratio */
  display: block;
}

/* --- Main Menu List (targeting the actual Ghost-generated classes) --- */
.nav ul.nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav ul.nav li {
    margin: 0;
}

.nav ul.nav li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
    padding: 8px 16px;
    border-radius: 4px;
    display: block;
}

.nav ul.nav li a:hover {
    color: var(--primary-green);
}

/* --- Dropdown Menu Styles --- */
.nav ul.nav .has-submenu {
    position: relative;
}

.nav ul.nav .has-submenu > a::after {
    content: '▾';
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
}

.nav ul.nav .nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 6px;
    padding: 8px 0;
    list-style: none;
    min-width: 200px;
    margin-top: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    z-index: 100;
}

.nav ul.nav .has-submenu:hover > .nav-submenu {
    display: block;
}

.nav ul.nav .nav-submenu a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.nav ul.nav .nav-submenu a:hover {
    color: var(--primary-green);
    background: rgba(34, 87, 61, 0.05);
}

/* --- CTA Button --- */
.cta-button {
    background: var(--primary-green);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 400;
    font-size: 13px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: #1a4530;
    transform: translateY(-1px);
}

/* --- Mobile Navigation --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1002;
}

/* Desktop and tablet styles (above 768px) */
@media (min-width: 769px) {
    .nav ul.nav {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 !important;
        left: auto !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .cta-button {
        display: inline-flex !important;
    }
}

@media (max-width: 1024px) {
    .nav {
        padding-left: 32px;
        padding-right: 32px;
    }
    .nav ul.nav {
        gap: 4px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 20px 24px;
        position: relative;
    }
    
    .nav ul.nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 0;
    }
    
    .nav ul.nav.active {
        left: 0;
    }
    
    .nav ul.nav li a {
        font-size: 18px;
        padding: 16px 24px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .cta-button {
        display: none;
    }
}

/* Page Header - from various pages */
.page-header {
    background: var(--white);
    padding: 200px 0 120px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(247, 245, 242, 0.4) 100%);
    z-index: 1;
}

.bg-element {
    position: absolute;
    z-index: 1;
}

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

.page-badge {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-left: 24px;
}

.page-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 1px;
    background: var(--primary-green);
    transform: translateY(-50%);
}

.page-title {
    font-size: 64px;
    margin-bottom: 32px;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 22px;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

/* Hero Section - from index.html */
.hero {
    background: var(--white);
    padding: 240px 0 200px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(247, 245, 242, 0.3) 40%, rgba(247, 245, 242, 0.6) 100%);
    z-index: 1;
}

/* Background Elements - from index.html */
.bg-circle-1 {
    top: 12%;
    right: 8%;
    width: 180px;
    height: 180px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    opacity: 0.08;
    animation: slowFloat 40s ease-in-out infinite;
}

.bg-circle-2 {
    bottom: 20%;
    right: 25%;
    width: 120px;
    height: 120px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.06;
    animation: slowFloat 50s ease-in-out infinite reverse;
}

.bg-line-1 {
    top: 30%;
    right: 5%;
    width: 150px;
    height: 2px;
    background: var(--primary-green);
    opacity: 0.08;
    transform: rotate(45deg);
    animation: slowFloat 45s ease-in-out infinite;
}

.bg-dot-1 {
    top: 25%;
    right: 40%;
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.1;
    animation: slowFloat 35s ease-in-out infinite;
}

.bg-dot-2 {
    bottom: 30%;
    right: 15%;
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    opacity: 0.08;
    animation: slowFloat 60s ease-in-out infinite reverse;
}

.bg-triangle {
    bottom: 40%;
    right: 8%;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 30px solid var(--primary-green);
    opacity: 0.07;
    animation: slowFloat 55s ease-in-out infinite;
}

/* Additional background elements from other pages */
.bg-chart {
    top: 15%;
    right: 10%;
    width: 120px;
    height: 80px;
    background: var(--primary-green);
    opacity: 0.05;
    border-radius: 8px;
    animation: slowFloat 40s ease-in-out infinite;
}

.bg-growth-line {
    top: 35%;
    right: 25%;
    width: 100px;
    height: 2px;
    background: var(--success-green);
    opacity: 0.1;
    transform: rotate(25deg);
    animation: slowFloat 50s ease-in-out infinite reverse;
}

.bg-code {
    top: 20%;
    left: 8%;
    width: 100px;
    height: 60px;
    background: var(--primary-green);
    opacity: 0.05;
    border-radius: 6px;
    animation: codeFloat 45s ease-in-out infinite;
}

.bg-bracket {
    top: 40%;
    left: 15%;
    font-size: 40px;
    color: var(--primary-green);
    opacity: 0.08;
    animation: codeFloat 35s ease-in-out infinite reverse;
}

.bg-bracket::before {
    content: '<>';
}

/* Animations */
@keyframes slowFloat {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(90deg);
    }
    50% {
        transform: translate(-5px, -10px) rotate(180deg);
    }
    75% {
        transform: translate(-10px, 5px) rotate(270deg);
    }
}

@keyframes codeFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    25% { 
        transform: translate(15px, -10px) rotate(5deg); 
    }
    50% { 
        transform: translate(-8px, -20px) rotate(-3deg); 
    }
    75% { 
        transform: translate(-12px, 8px) rotate(2deg); 
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-main {
    max-width: 900px;
    margin-bottom: 120px;
}

.hero-badge {
    display: inline-block;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    padding-left: 24px;
}

.hero-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 1px;
    background: var(--primary-green);
    transform: translateY(-50%);
}

.hero h1 {
    font-size: 80px;
    margin-bottom: 48px;
    line-height: 1.1;
}

.hero h1 .highlight {
    color: var(--primary-green);
    position: relative;
}

.hero-tagline {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 32px;
    font-weight: 400;
    font-family: var(--gh-font-heading);
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 22px;
    margin-bottom: 64px;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 120px;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    padding: 20px 40px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: #1a4530;
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    padding: 20px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-secondary:hover {
    color: var(--primary-green);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 120px;
    max-width: 800px;
    position: relative;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--primary-green), transparent);
    opacity: 0.2;
}

.hero-stat {
    text-align: left;
    padding-top: 40px;
}

.hero-stat-number {
    font-size: 56px;
    font-weight: 500;
    color: var(--primary-green);
    font-family: var(--gh-font-heading);
    display: block;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.hero-stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

/* Social Proof in Hero */
.hero-social-proof {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(232, 232, 232, 0.5);
    text-align: center;
}

.social-proof-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.client-list {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.client-name {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

/* Hero Metrics (for studio pages) */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 48px;
}

.metric-item {
    text-align: left;
}

.metric-number {
    font-size: 48px;
    font-weight: 500;
    color: var(--primary-green);
    font-family: var(--gh-font-heading);
    display: block;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 48px;
    line-height: 1.5;
    font-weight: 400;
}

/* Section Headers */
.section-badge {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-title {
    font-size: 48px;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-description {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 64px;
}

/* Studios Section - FIXED */
.studios-section {
    padding: 160px 0;
    background: var(--background-beige);
}

.studios-header {
    text-align: center;
    margin-bottom: 100px;
}

/* CHANGED: Renamed .studios-grid to match your HTML */
.studios-grid-corrected {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: flex-start;
}

/* CHANGED: Renamed .studio to match your HTML */
.studio-card {
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* ADDED: Styles for the header inside each card to position the icon and number */
.studio-card .studio-header {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    min-height: 80px; /* Ensures space for the absolute positioned number */
}

.studio-number {
    font-size: 120px;
    font-weight: 300;
    color: var(--primary-green);
    opacity: 0.1;
    font-family: var(--gh-font-heading);
    position: absolute;
    top: -20px; /* Adjusted positioning */
    left: -20px;
    z-index: 1;
    line-height: 1;
}

.studio-icon {
    color: var(--primary-green);
    font-size: 32px;
    margin-bottom: 0; /* Margin is now on the header container */
    display: block;
    position: relative; /* Ensures icon is on top of the number */
    z-index: 2;
    margin-left: 100px; /* Pushes icon to the right of the number */
}

/* All selectors below are now correctly targeting elements inside .studio-card */
.studio-card .studio-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.studio-card .studio-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.studio-card .studio-features {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.studio-card .studio-features li {
    padding: 8px 0;
    font-size: 16px;
    color: var(--text-dark);
    position: relative;
    padding-left: 24px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.studio-card .studio-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--primary-green);
    font-weight: 500;
    font-size: 16px;
}

/* Studios Detail - from studios.html */
.studios-detail {
    padding: 160px 0;
    background: var(--background-beige);
}

.studio-section {
    margin-bottom: 200px;
}

.studio-section:last-child {
    margin-bottom: 0;
}

.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: start;
}

.studio-section:nth-child(even) .studio-content {
    direction: rtl;
}

.studio-section:nth-child(even) .studio-text,
.studio-section:nth-child(even) .studio-visual {
    direction: ltr;
}

.studio-text {
    position: relative;
    z-index: 2;
}

.studio-badge {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ADDED: This rule positions the faint number in the background */
.studio-text .studio-number {
    font-size: 200px;
    font-weight: 300;
    color: var(--primary-green);
    opacity: 0.08;
    font-family: var(--gh-font-heading);
    position: absolute;
    top: -60px;
    left: -40px;
    z-index: -1;
    line-height: 1;
    user-select: none;
}

/* ADDED: This rule styles the main title to match the design */
.studio-text .studio-title {
    font-size: 56px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.studio-tagline {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    font-weight: 400;
}

.studio-description {
    font-size: 18px;
    margin-bottom: 48px;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

.studio-features-list {
    list-style: none;
    margin-bottom: 48px;
}

.studio-features-list li {
    padding: 12px 0;
    font-size: 18px;
    color: var(--text-dark);
    position: relative;
    padding-left: 32px;
    font-weight: 400;
}

.studio-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--primary-green);
    transform: translateY(-50%);
}

.studio-visual {
    background: var(--white);
    height: 500px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.studio-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-green);
    opacity: 0.05;
}

.visual-icon {
    font-size: 80px;
    color: var(--primary-green);
    position: relative;
    z-index: 2;
}

.visual-content {
    position: relative;
    z-index: 2;
}

.visual-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.visual-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.visual-label {
    font-size: 18px;
    font-weight: 500;
}

/* Mandate Section - from studio pages */
.mandate-section {
    padding: 160px 0;
    background: var(--background-beige);
}

.mandate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.mandate-text h2 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 32px;
    color: var(--primary-green);
    letter-spacing: -0.02em;
}

.mandate-text p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.mandate-pillars {
    list-style: none;
}

.mandate-pillars li {
    padding: 16px 0;
    font-size: 18px;
    color: var(--text-dark);
    position: relative;
    padding-left: 32px;
    font-weight: 500;
}

.mandate-pillars li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--primary-green);
    transform: translateY(-50%);
}

.mandate-visual {
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mandate-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-green);
    opacity: 0.05;
}

/* Value Propositions */
.value-props {
    padding: 160px 0;
    background: var(--white);
}

.value-props-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-top: 80px;
}

.value-prop {
    text-align: left;
}

.value-prop-icon {
    color: var(--primary-green);
    font-size: 32px;
    margin-bottom: 24px;
}

.value-prop h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.value-prop p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

/* Results */
.results-section {
    padding: 160px 0;
    background: var(--background-beige);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    margin-top: 80px;
}

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

.result-number {
    font-size: 56px;
    font-weight: 500;
    color: var(--primary-green);
    font-family: var(--gh-font-heading);
    margin-bottom: 12px;
    display: block;
    letter-spacing: -0.02em;
}

.result-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Services Section - from studio pages */
.services-section {
    padding: 160px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 120px 80px;
    margin-bottom: 120px;
}

.service-item {
    position: relative;
}

.service-number {
    font-size: 120px;
    font-weight: 300;
    color: var(--primary-green);
    opacity: 0.1;
    font-family: var(--gh-font-heading);
    position: absolute;
    top: -40px;
    left: -20px;
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 24px;
}

.service-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

.service-features li {
    padding: 8px 0;
    font-size: 16px;
    color: var(--text-dark);
    position: relative;
    padding-left: 24px;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 500;
}

/* Process */
.process-section {
    padding: 160px 0;
    background: var(--white);
}

.process-timeline {
    margin-top: 80px;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 60px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-green), var(--success-green), var(--accent-blue));
    opacity: 0.2;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    position: relative;
    z-index: 2;
}

.process-step {
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    font-family: var(--gh-font-heading);
    margin-bottom: 24px;
}

.step-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.step-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 400;
}

.step-price {
    font-size: 18px;
    color: var(--primary-green);
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Process Timeline - from process.html */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    position: relative;
    z-index: 2;
}

.timeline-item {
    position: relative;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 12px;
    border: 1px solid rgba(232, 232, 232, 0.5);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-8px);
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 500;
    font-family: var(--gh-font-heading);
    margin: 0 auto 32px;
}

.phase-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--primary-green);
    letter-spacing: -0.01em;
    text-align: center;
}

.phase-price {
    font-size: 20px;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
}

.phase-description {
    font-size: 16px;
    margin-bottom: 32px;
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
}

.phase-features {
    list-style: none;
    margin-bottom: 32px;
}

.phase-features li {
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    padding-left: 24px;
    font-weight: 400;
}

.phase-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 1px;
    background: var(--primary-green);
    transform: translateY(-50%);
}

.phase-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--background-beige);
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 auto;
}

/* Methodology - from process.html */
.methodology-section {
    padding: 160px 0;
    background: var(--white);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
}

.methodology-item {
    position: relative;
}

.method-number {
    font-size: 80px;
    font-weight: 300;
    color: var(--primary-green);
    opacity: 0.1;
    font-family: var(--gh-font-heading);
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: 1;
}

.method-content {
    position: relative;
    z-index: 2;
}

.method-icon {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 24px;
}

.method-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.method-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section - from process.html */
.faq-section {
    padding: 160px 0;
    background: var(--background-beige);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(232, 232, 232, 0.5);
}

.faq-question {
    padding: 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    transition: background 0.3s;
    color: var(--text-dark);
}

.faq-question:hover {
    background: var(--background-beige);
}

.faq-icon {
    transition: transform 0.3s;
    color: var(--primary-green);
    font-size: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 32px 32px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
}

/* Stats Overview - from growth-stories.html */
.stats-overview {
    padding: 160px 0;
    background: var(--background-beige);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    text-align: center;
}

.stat-item {
    padding: 40px 20px;
}

.stat-number {
    font-size: 56px;
    font-weight: 500;
    color: var(--primary-green);
    font-family: var(--gh-font-heading);
    margin-bottom: 12px;
    display: block;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Case Studies - from growth-stories.html */
.case-studies {
    padding: 160px 0;
    background: var(--white);
}

.case-study {
    margin-bottom: 160px;
    position: relative;
}

.case-study:last-child {
    margin-bottom: 0;
}

.case-study-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.case-study:nth-child(even) .case-study-content {
    direction: rtl;
}

.case-study:nth-child(even) .case-study-text,
.case-study:nth-child(even) .case-study-visual {
    direction: ltr;
}

.case-study-visual {
    background: var(--background-beige);
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.case-study-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-green);
    opacity: 0.05;
}

.case-study-text {
    position: relative;
}

.case-number {
    font-size: 120px;
    font-weight: 300;
    color: var(--primary-green);
    opacity: 0.1;
    font-family: var(--gh-font-heading);
    position: absolute;
    top: -60px;
    left: -20px;
    z-index: 1;
}

.client-info {
    position: relative;
    z-index: 2;
    margin-bottom: 32px;
}

.client-name {
    font-size: 28px;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.client-industry {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.case-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.case-description {
    font-size: 18px;
    margin-bottom: 48px;
    color: var(--text-light);
    line-height: 1.6;
}

.read-more-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #1a4530;
    transform: translateY(-1px);
}

/* Testimonial - from growth-stories.html */
.testimonial-section {
    padding: 160px 0;
    background: var(--background-beige);
    text-align: center;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 40px;
    color: var(--primary-green);
    opacity: 0.3;
    margin-bottom: 32px;
}

.testimonial-text {
    font-size: 28px;
    font-style: italic;
    margin-bottom: 48px;
    line-height: 1.4;
    color: var(--text-dark);
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 500;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* Blog Page Styles */
.blog-section {
    padding: 160px 0;
    background: var(--background-beige);
}

.blog-filter {
    text-align: center;
    margin-bottom: 80px;
}

.filter-buttons {
    display: inline-flex;
    gap: 8px;
    background: var(--white);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-light);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--gh-font-body);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-1px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 80px;
    margin-bottom: 80px;
}

.blog-article {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 232, 232, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.blog-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 240px;
    background: var(--background-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

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

.blog-article:hover .article-image img {
    transform: scale(1.05);
}

.article-image i {
    font-size: 40px;
    color: var(--primary-green);
    opacity: 0.7;
}

.article-content {
    padding: 40px;
}

.article-category {
    font-size: 12px;
    color: var(--primary-green);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-family: var(--gh-font-heading);
}

.article-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-family: var(--gh-font-heading);
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary-green);
}

.article-excerpt {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
    font-weight: 400;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
}

.read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}

.read-time::before {
    content: "📖";
    font-size: 12px;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--gh-font-heading);
}

.read-more:hover {
    color: var(--text-dark);
    transform: translateX(4px);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 80px;
}

.load-more-btn {
    background: var(--primary-green);
    color: var(--white);
    padding: 18px 36px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--gh-font-heading);
}

.load-more-btn:hover {
    background: #1a4530;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* No posts message */
.no-posts {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    padding: 60px 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(232, 232, 232, 0.5);
    grid-column: 1 / -1;
}

/* Newsletter Section */
.newsletter-section {
    padding: 160px 0;
    background: var(--white);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    font-family: var(--gh-font-heading);
}

.newsletter-description {
    font-size: 20px;
    margin-bottom: 48px;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--gh-font-body);
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.newsletter-button {
    background: var(--primary-green);
    color: var(--white);
    padding: 16px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-family: var(--gh-font-heading);
    white-space: nowrap;
}

.newsletter-button:hover {
    background: #1a4530;
}

.newsletter-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Newsletter feedback messages */
.newsletter-feedback {
    margin-top: 20px;
}

.newsletter-success,
.newsletter-error {
    font-size: 14px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 400;
}

.newsletter-success {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.newsletter-error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .blog-section,
    .newsletter-section {
        padding: 120px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .filter-btn {
        margin: 4px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .newsletter-title {
        font-size: 36px;
    }
    
    .article-content {
        padding: 32px;
    }
    
    .article-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-content {
        padding: 24px;
    }
    
    .filter-buttons {
        padding: 6px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Post-specific additions to your existing CSS */

/* ==========================================================================
   POST TEMPLATE STYLES
   ========================================================================== */

/* Fix navbar overlap */
.post-main {
    padding-top: 100px; /* Adjust based on your navbar height */
}

/* Post classes from Ghost */
.post-template .post-article {
    /* Specific styles for post template */
}

/* ==========================================================================
   POST HEADER
   ========================================================================== */

.post-header {
    position: relative;
    z-index: 10;
    background: var(--white);
    padding: 3rem 0 2rem 0;
}

.post-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.post-category {
    margin-bottom: 1rem;
}

.post-category a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-green);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.post-category a:hover {
    background: var(--primary-green);
    color: var(--white);
}

.post-title {
    font-family: var(--gh-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 1rem 0;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   POST META
   ========================================================================== */

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.post-meta-left {
    display: flex;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar,
.author-avatar-fallback {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-fallback {
    background: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.author-name a:hover {
    color: var(--primary-green);
}

.post-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.reading-time {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.reading-time::before {
    content: "📖";
    margin-right: 4px;
    font-size: 12px;
}

/* ==========================================================================
   FEATURED IMAGE
   ========================================================================== */

.post-feature-image {
    margin: 2rem 0;
}

.post-feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-feature-image figcaption {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 12px;
    font-style: italic;
}

/* ==========================================================================
   POST CONTENT
   ========================================================================== */

.post-content {
    margin: 3rem 0;
}

.post-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content-wrapper h1,
.post-content-wrapper h2,
.post-content-wrapper h3,
.post-content-wrapper h4,
.post-content-wrapper h5,
.post-content-wrapper h6 {
    font-family: var(--gh-font-heading);
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.post-content-wrapper h2 {
    font-size: 2rem;
    font-weight: 600;
}

.post-content-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.post-content-wrapper p {
    margin-bottom: 1.5rem;
}

.post-content-wrapper img {
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
}

.post-content-wrapper .kg-width-wide {
    width: 100vw;
    max-width: 120%;
    margin-left: -10%;
}

.post-content-wrapper .kg-width-full {
    width: 100vw;
    max-width: 140%;
    margin-left: -20%;
}

/* ==========================================================================
   POST FOOTER
   ========================================================================== */

.post-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

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

.post-tags h4 {
    font-family: var(--gh-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.tag-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

/* ==========================================================================
   AUTHOR CARD
   ========================================================================== */

.author-card {
    background: var(--background-beige);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.author-card-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-card-avatar,
.author-card-avatar-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-card-avatar-fallback {
    background: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
}

.author-card-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.author-card-info a {
    color: inherit;
    text-decoration: none;
}

.author-card-info a:hover {
    color: var(--primary-green);
}

.author-bio {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-meta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 14px;
}

.author-location,
.author-website {
    color: var(--text-light);
    text-decoration: none;
}

.author-website:hover {
    color: var(--primary-green);
}

/* ==========================================================================
   RELATED POSTS
   ========================================================================== */

.related-posts {
    margin: 4rem 0;
    padding: 3rem 0;
    background: var(--background-beige);
}

.related-posts .section-title {
    font-family: var(--gh-font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-article {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.article-image {
    height: 200px;
    overflow: hidden;
    background: var(--background-beige);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-image i {
    font-size: 2rem;
    color: var(--primary-green);
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    color: var(--primary-green);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.article-title {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
}

.article-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary-green);
}

.article-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.read-time {
    color: var(--text-light);
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--success-green);
}

/* ==========================================================================
   NEWSLETTER CTA
   ========================================================================== */

.newsletter-cta {
    background: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.newsletter-cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.newsletter-cta h2 {
    font-family: var(--gh-font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.newsletter-cta p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.newsletter-button:hover {
    background: var(--success-green);
}

.newsletter-form.loading .button-content {
    opacity: 0;
}

.newsletter-form.loading .button-loader {
    opacity: 1;
}

.newsletter-form.success .newsletter-input {
    border-color: var(--success-green);
}

.newsletter-form.error .newsletter-input {
    border-color: #e53e3e;
}

.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.message-success,
.message-error {
    margin-top: 16px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.newsletter-form.success ~ .message-success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.newsletter-form.error ~ .message-error {
    display: block;
    background: rgba(229, 62, 62, 0.1);
    color: #e53e3e;
    border: 1px solid rgba(229, 62, 62, 0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .post-main {
        padding-top: 80px; /* Smaller navbar on mobile */
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-excerpt {
        font-size: 1.1rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-posts .section-title {
        font-size: 2rem;
    }
    
    .author-card-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .post-content-wrapper .kg-width-wide,
    .post-content-wrapper .kg-width-full {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .post-header-content {
        padding: 0 0.5rem;
    }
    
    .post-title {
        font-size: 1.75rem;
    }
    
    .author-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==========================================================================
   BLOG PAGE STYLES - MATCHING DESIGN
   ========================================================================== */

/* Page Header */
.page-header {
    background: var(--white);
    padding: 200px 0 120px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(247, 245, 242, 0.4) 100%);
    z-index: 1;
}

.bg-element {
    position: absolute;
    z-index: 1;
}

.bg-line-1 {
    top: 25%;
    left: 15%;
    width: 100px;
    height: 2px;
    background: var(--primary-green);
    opacity: 0.08;
    transform: rotate(30deg);
}

.bg-dot-1 {
    top: 35%;
    right: 25%;
    width: 6px;
    height: 6px;
    background: var(--success-green);
    border-radius: 50%;
    opacity: 0.1;
}

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

.page-badge {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-left: 24px;
}

.page-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 1px;
    background: var(--primary-green);
    transform: translateY(-50%);
}

.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 64px;
    font-weight: 500;
    margin-bottom: 32px;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-subtitle {
    font-size: 22px;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

/* Blog Section */
.blog-section {
    padding: 160px 0;
    background: var(--background-beige);
}

.blog-filter {
    text-align: center;
    margin-bottom: 80px;
}

.filter-buttons {
    display: inline-flex;
    gap: 8px;
    background: var(--white);
    padding: 8px;
    border-radius: 8px;
}

.filter-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-light);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-green);
    color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 80px;
}

.blog-article {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(232, 232, 232, 0.5);
}

.blog-article:hover {
    transform: translateY(-4px);
}

.article-image {
    height: 240px;
    background: var(--background-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 40px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-image i {
    font-size: 40px;
    color: var(--primary-green);
}

.article-content {
    padding: 40px;
}

.article-category {
    font-size: 12px;
    color: var(--primary-green);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.article-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.article-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary-green);
}

.article-excerpt {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
}

.read-time {
    color: var(--text-light);
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--text-dark);
}

/* Newsletter Section */
.newsletter-section {
    padding: 160px 0;
    background: var(--white);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.newsletter-description {
    font-size: 20px;
    margin-bottom: 48px;
    color: var(--text-light);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.newsletter-button {
    background: var(--primary-green);
    color: var(--white);
    padding: 16px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.newsletter-button:hover {
    background: #1a4530;
}

.button-text {
    display: inline;
}

.button-loading {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 80px;
    }
    
    .page-title {
        font-size: 48px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .blog-section {
        padding: 80px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-section {
        padding: 80px 0;
    }
    
    .newsletter-title {
        font-size: 36px;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-content {
        padding: 32px;
    }
    
    .article-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 24px;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .blog-section {
        padding: 60px 0;
    }
    
    .newsletter-section {
        padding: 60px 0;
    }
    
    .article-content {
        padding: 24px;
    }
    
    .article-title {
        font-size: 18px;
    }
}

/* --- 1. Case Study Preview Section --- */

.case-studies-preview {
  padding: 120px 0;
  background: var(--white);
}

.case-study-card {
  display: grid;
  grid-template-columns: 1fr; /* Default to 1 column */
  gap: 40px;
  background: #F7F5F2; /* Using a common light beige background */
  border-radius: 12px;
  padding: 60px;
  border: 1px solid #e8e8e8;
  align-items: center;
}

/* On larger screens, switch to 2 columns */
@media (min-width: 992px) {
  .case-study-card {
    grid-template-columns: 2fr 1fr; /* Text takes more space */
    gap: 80px;
  }
}

.case-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--primary-green, #22573D);
}

.case-content p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-light, #6B7280);
  max-width: 600px;
  margin-bottom: 48px;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2x2 grid for metrics */
  gap: 32px;
}

@media (min-width: 768px) {
  .case-results {
    grid-template-columns: repeat(4, 1fr); /* 4x1 on larger screens */
  }
}

.result-metric .result-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--primary-green, #22573D);
  margin-bottom: 8px;
}

.result-metric .result-label {
  display: block;
  font-size: 14px;
  color: var(--text-light, #6B7280);
}

.case-visual {
  display: none; /* Hide on mobile for a cleaner look */
}

@media (min-width: 992px) {
  .case-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    height: 150px;
    width: 150px;
    margin: 0 auto;
    border-radius: 50%; /* Make it a circle */
    border: 2px solid var(--primary-green, #22573D);
  }

  .case-icon {
    font-size: 60px;
    color: var(--primary-green, #22573D);
  }
}


/* --- 2. Call to Action (CTA) Section --- */

.cta-section {
  padding: 100px 0;
  background: var(--primary-green, #22573D);
  color: var(--white, #ffffff);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white, #ffffff);
  color: var(--primary-green, #22573D);
  padding: 18px 36px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-white i {
  font-size: 18px;
}