/* Base styles */
:root {
    --primary: #6366f1;
    --secondary: #4f46e5;
    --accent: #06b6d4;
    --gradient-start: #6366f1;
    --gradient-end: #06b6d4;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 8px 25px rgba(15, 23, 42, 0.12);
    --glow: 0 0 15px rgba(99, 102, 241, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--background);
    background-image: 
        radial-gradient(circle at 20% 10%, rgba(123, 44, 191, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 90%, rgba(94, 231, 255, 0.12) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237b2cbf' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(125deg, rgba(123, 44, 191, 0.03) 0%, transparent 70%),
        linear-gradient(45deg, transparent 30%, rgba(94, 231, 255, 0.03) 100%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

h1, h2, h3, h4, .cta-button, .secondary-button {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

ul {
    list-style-type: none;
    margin-top: 16px;
}

li {
    border-bottom: 1px solid var(--border);
}

li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

li p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 8px;
    margin-left: 0;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

/* Header & Logo */
.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.logo {
    max-width: 250px;
}

.logo img {
    width: 100%;
    height: auto;
}

.loading {
    text-align: center;
    color: var(--text-light);
    padding: 20px 0;
}

/* Components */
.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid rgba(123, 44, 191, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(3, 216, 235, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.5);
}

.cta-button:hover::before {
    opacity: 1;
}

/* Hero CTA button - slightly larger and more prominent */
.hero-cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 25px;
    box-shadow: 0 6px 18px rgba(123, 44, 191, 0.5);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.secondary-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    z-index: -1;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.secondary-button:hover {
    color: white;
    border-color: transparent;
}

.secondary-button:hover::before {
    transform: translateX(0);
}

/* Hero Section */
.hero {
    padding: 40px 0 35px;
    text-align: center;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.15) 0%, rgba(94, 231, 255, 0.1) 100%);
    border-radius: var(--border-radius);
    margin: 20px 20px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(123, 44, 191, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%237b2cbf' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(to right, rgba(123, 44, 191, 0.03) 0%, rgba(94, 231, 255, 0.03) 100%);
    opacity: 0.7;
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 16px;
    animation: fadeIn 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--text-light);
    animation: fadeIn 1.2s ease-out;
}

.availability-note {
    font-size: 0.9rem;
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--text-light);
    animation: fadeIn 1.4s ease-out;
    font-style: italic;
}

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

/* Introduction Section */
.intro-section {
    margin-bottom: 80px;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.intro-content > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-light);
}

.value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.value-prop {
    padding: 35px 30px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(228, 232, 247, 0.6);
    box-shadow: var(--shadow);
    z-index: 1;
}

.value-prop:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 69, 255, 0.02) 0%, rgba(0, 194, 255, 0.04) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.value-prop:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.value-prop:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 194, 255, 0.2);
}

.value-prop:hover:before {
    opacity: 1;
}

.value-prop:hover:after {
    transform: scaleX(1);
}

.value-icon {
    margin: 0 auto 20px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(51, 69, 255, 0.08) 0%, rgba(0, 194, 255, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: var(--transition);
    position: relative;
}

.value-icon:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(51, 69, 255, 0.3);
    top: 0;
    left: 0;
    animation: spin 25s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.value-prop:hover .value-icon {
    background: linear-gradient(135deg, rgba(51, 69, 255, 0.12) 0%, rgba(0, 194, 255, 0.12) 100%);
    transform: scale(1.05);
    box-shadow: var(--glow);
}

.value-prop:hover .value-icon:before {
    opacity: 1;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: var(--transition);
}

.value-prop:hover .value-icon img {
    filter: brightness(1) contrast(1.2);
}

.value-prop h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text);
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.value-prop:hover h3 {
    color: var(--primary);
}

.value-prop p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Featured Services */
.featured-services {
    margin-bottom: 80px;
    text-align: center;
}

.featured-services h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text);
}

.featured-services > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.service-box {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(123, 44, 191, 0.15);
    backdrop-filter: blur(10px);
    animation: subtlePulse 8s infinite alternate ease-in-out;
}

@keyframes subtlePulse {
    0% {
        box-shadow: var(--shadow);
    }
    100% {
        box-shadow: 0 8px 25px rgba(94, 231, 255, 0.1);
    }
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.07) 0%, rgba(94, 231, 255, 0.07) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transition: height 0.5s ease;
}

.service-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(94, 231, 255, 0.3);
    animation-play-state: paused;
}

.service-box:hover::before {
    opacity: 1;
}

.service-box:hover::after {
    height: 100%;
}

.service-icon {
    margin-bottom: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.1) 0%, rgba(94, 231, 255, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: var(--transition);
    position: relative;
    filter: drop-shadow(0 3px 10px rgba(94, 231, 255, 0.15));
}

.service-box:hover .service-icon {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.15) 0%, rgba(94, 231, 255, 0.15) 100%);
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--glow);
    animation: iconGlow 2s infinite alternate ease-in-out;
}

@keyframes iconGlow {
    0% {
        filter: drop-shadow(0 3px 10px rgba(94, 231, 255, 0.15));
    }
    100% {
        filter: drop-shadow(0 5px 15px rgba(123, 44, 191, 0.25));
    }
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: var(--transition);
}

.service-box:hover .service-icon img {
    filter: brightness(1) contrast(1.2);
}

.service-box h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text);
    transition: var(--transition);
}

.service-box:hover h3 {
    color: var(--primary);
}

.service-box p {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-top: auto;
    position: relative;
    padding-bottom: 3px;
}

.service-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

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

.service-link:hover:after {
    width: 100%;
}

.services-cta {
    margin-top: 20px;
}

/* Featured Case Studies */
.featured-case-studies {
    margin-bottom: 80px;
    text-align: center;
}

.featured-case-studies h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.featured-case-studies > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.case-studies-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.case-study-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-study-media {
    position: relative;
    width: 100%;
    padding-top: 50%; /* 2:1 aspect ratio */
    background-color: #f5f5f5;
    overflow: hidden;
}

.case-study-media img, 
.case-study-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.case-study-content {
    padding: 30px;
    text-align: left;
}

.case-study-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary);
}

.case-study-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.results-preview {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

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

.result-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.read-case-study {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.read-case-study:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.cases-cta {
    margin-top: 20px;
}

/* Latest Insights */
.latest-insights {
    margin-bottom: 80px;
    text-align: center;
}

.latest-insights h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.latest-insights > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.featured-insights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.insight-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(228, 232, 247, 0.7);
    position: relative;
    z-index: 1;
}

.insight-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(51, 69, 255, 0.03) 0%, rgba(0, 194, 255, 0.06) 100%);
    border-radius: 0 0 0 100%;
    z-index: -1;
    transition: var(--transition);
    opacity: 0.7;
}

.insight-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 194, 255, 0.2);
}

.insight-card:hover:before {
    transform: scale(1.2);
    opacity: 1;
}

.insight-image {
    overflow: hidden;
    height: 220px;
    position: relative;
    background: linear-gradient(to right, rgba(51, 69, 255, 0.05), rgba(0, 194, 255, 0.05));
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: saturate(1.05) contrast(1.05);
}

.insight-card:hover .insight-image img {
    transform: scale(1.08) rotate(1deg);
}

.insight-image:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insight-card:hover .insight-image:after {
    opacity: 1;
}

.insight-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.insight-icon img {
    width: 80px;
    height: 80px;
    background-color: rgba(123, 44, 191, 0.15);
    padding: 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.insight-card:hover .insight-icon img {
    transform: scale(1.1) rotate(5deg);
}

.insight-content {
    padding: 30px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.insight-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text);
    transition: var(--transition);
    line-height: 1.4;
}

.insight-card:hover .insight-content h3 {
    color: var(--primary);
}

.insight-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: rgba(51, 69, 255, 0.05);
    border-radius: 30px;
}

.insight-date:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 8px;
}

.insight-excerpt {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 1;
}

.insight-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
    position: relative;
    padding-bottom: 3px;
}

.insight-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

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

.insight-link:hover:after {
    width: 100%;
}

.insights-cta {
    margin-top: 20px;
}

/* Home CTA Section */
.home-cta {
    margin-bottom: 80px;
}

.cta-container {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #001a41 100%);
    color: var(--text-on-dark);
    padding: 70px 60px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1;
    border: 1px solid rgba(123, 44, 191, 0.2);
}

.cta-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(51, 69, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 194, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
}

/* Grid pattern overlay */
.cta-container:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

.cta-container h2 {
    font-size: 2.3rem;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    display: inline-block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cta-container h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.cta-container p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Animated dots */
.animated-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.animated-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    animation: floatDot 15s infinite linear;
}

.animated-dot:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-duration: 20s;
    animation-delay: 0s;
}

.animated-dot:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-duration: 25s;
    animation-delay: 2s;
}

.animated-dot:nth-child(3) {
    top: 30%;
    left: 60%;
    animation-duration: 18s;
    animation-delay: 5s;
}

.animated-dot:nth-child(4) {
    top: 70%;
    left: 30%;
    animation-duration: 22s;
    animation-delay: 7s;
}

@keyframes floatDot {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(100px, 50px);
    }
    50% {
        transform: translate(50px, 100px);
    }
    75% {
        transform: translate(-50px, 50px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Calendar Overlay */
.calendar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.calendar-popup {
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    margin: 0 20px;
}

.calendar-popup h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.calendar-popup p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.calendar-button {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.calendar-button:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.close-button {
    display: block;
    margin: 20px auto 0;
    padding: 8px 16px;
    background-color: #f5f5f7;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.close-button:hover {
    background-color: #e8e8e8;
}

/* Calendar popup styles */
.calendar-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-popup {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.calendar-popup h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-size: 1.5rem;
}

.calendar-popup p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.calendar-button {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 10px;
}

.calendar-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(123, 44, 191, 0.3);
}

.close-button {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.close-button:hover {
    background-color: #f5f5f5;
}

/* Mobile styles for calendar popup */
@media (max-width: 768px) {
    .calendar-popup {
        padding: 25px;
        width: 95%;
    }
    
    .calendar-popup h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .calendar-popup {
        padding: 20px 15px;
        max-height: 85vh;
        overflow-y: auto;
        width: 100%;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        position: fixed;
        bottom: 0;
        top: auto;
    }
    
    .calendar-popup-overlay {
        align-items: flex-end;
    }
    
    .calendar-popup h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .calendar-popup p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .calendar-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .calendar-button, .close-button {
        padding: 12px 20px;
        width: 100%;
        margin: 0;
        font-size: 0.95rem;
        display: block;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .featured-work-card .project {
        flex-direction: row;
        align-items: flex-start;
    }
}

.featured-work-card .project:last-of-type {
    border-bottom: none;
}

.featured-work-card .project-media,
.featured-work-card .project-image {
    flex: 0 0 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.featured-work-card .project-media img,
.featured-work-card .project-media video,
.featured-work-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-work-card .project-media img:hover,
.featured-work-card .project-media video:hover,
.featured-work-card .project-image img:hover {
    transform: scale(1.05);
}

.featured-work-card .project-content {
    flex: 1;
}

.featured-work-card .project-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.featured-work-card .project-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.featured-work-card .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.featured-work-card .tag {
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
}

.featured-work-card .view-more-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    margin: 20px auto 10px;
    display: block;
    text-align: center;
    max-width: 200px;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.featured-work-card .view-more-btn:hover {
    background-color: var(--secondary);
    color: white;
}

.featured-work-card .additional-projects {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 20px;
}

/* About Section */
.about {
    margin-bottom: 60px;
}

.about-card {
    background-color: var(--card-bg);
    padding: 40px;
}

.about-card h2 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: var(--primary);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text h3 {
    margin: 25px 0 15px;
    color: var(--primary);
    font-size: 1.3rem;
}

.about-services {
    list-style-type: none;
    margin: 20px 0 25px;
    padding-left: 10px;
}

.about-services li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    border-bottom: none;
    padding-bottom: 0;
}

.about-services li:before {
    content: "💼";
    position: absolute;
    left: 0;
    top: 0;
}

.expansion-notice {
    background-color: rgba(123, 44, 191, 0.1);
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin: 30px 0;
    border-radius: 6px;
}

.highlight {
    font-weight: 600;
    color: var(--primary);
}

.schedule-consultation {
    margin-top: 20px;
    display: inline-block;
}

@media (max-width: 768px) {
    .about-card {
        padding: 30px 20px;
    }
}

/* Insights Section */
.insights {
    margin-bottom: 60px;
    text-align: center;
}

.insights h2 {
    margin-bottom: 16px;
}

.insights > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

#substack-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.substack-post {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    text-align: left;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.substack-post-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
    margin-bottom: 8px;
}

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

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

/* Fallback for posts without images */
.substack-post:not(:has(.substack-post-image img[style*="display: none"])) .substack-post-content {
    padding-top: 0;
}

.substack-post-content {
    padding: 24px;
    padding-top: 24px;
}

.substack-post-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.substack-post-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.substack-post-excerpt {
    color: var(--text);
    font-size: 0.95rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Media & Leadership */
.media-leadership {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

.talks-card h3 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.talks-card a {
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.talks-card a:hover {
    color: var(--secondary);
}

.talks-card strong {
    color: var(--primary);
}

.presentation-download {
    display: inline-flex;
    align-items: center;
    background-color: #f5f7fa;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.2s ease;
}

.presentation-download:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(123, 44, 191, 0.2);
}

.download-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}
/* Book Card Styling */
.book-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.book-image {
    text-align: center;
    margin-bottom: 20px;
}

.book-image img {
    max-width: 200px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    transition: transform 0.3s ease;
}

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

.book-details h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.book-details p {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .book-container {
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }
    
    .book-image {
        flex: 0 0 200px;
        margin-bottom: 0;
    }
    
    .book-details {
        flex: 1;
    }
}

/* Footer */
.site-footer {
    padding: 80px 20px 60px;
    color: var(--text-light);
    border-top: 1px solid rgba(123, 44, 191, 0.2);
    background: linear-gradient(135deg, rgba(51, 69, 255, 0.05) 0%, rgba(0, 194, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    margin: 0;
    border-radius: 0;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(123, 44, 191, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 90% 10%, rgba(3, 216, 235, 0.15) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237b2cbf' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.6;
}

.site-footer .container {
    max-width: 1160px;
    padding: 0 120px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    bottom: -10px;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    padding: 0;
    border: none;
}

.footer-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-column ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transition: width 0.3s ease;
    opacity: 0.7;
    border-radius: 2px;
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-column ul li a:hover::before {
    width: 100%;
}

.newsletter-signup p {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 180px;
    padding: 12px 18px;
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 6px;
    font-family: inherit;
    background-color: rgba(15, 6, 25, 0.3);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--text);
    backdrop-filter: blur(5px);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.8); /* Brighter placeholder text */
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(15, 6, 25, 0.5);
    box-shadow: 0 5px 15px rgba(3, 216, 235, 0.2);
}

.newsletter-form .cta-button {
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(123, 44, 191, 0.2);
    position: relative;
    margin-top: 20px;
}

.footer-bottom p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 25px;
    margin-top: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(123, 44, 191, 0.1), rgba(3, 216, 235, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
    border-radius: 6px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links a:hover::before {
    opacity: 1;
}

@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .site-footer .container {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 60px 0 40px;
    }
    
    .site-footer .container {
        padding: 0 40px;
    }
}

@media (max-width: 576px) {
    /* Improve mobile view for extra small screens */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
        max-width: 100vw;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        word-wrap: break-word;
    }
    
    .hero {
        padding: 40px 15px;
        margin: 0 0 30px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .cta-button, .secondary-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box;
    }
    
    /* Services and value props */
    .value-prop {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .service-box {
        padding: 25px 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Substack posts */
    #substack-posts {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .substack-post {
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .substack-post-image {
        height: 180px;
        max-width: 100%;
    }
    
    /* Footer adjustments */
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .site-footer {
        padding: 40px 15px 30px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .site-footer .container {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-column h4 {
        margin-bottom: 20px;
        word-wrap: break-word;
    }
    
    .footer-column ul li {
        padding: 8px 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-bottom {
        padding-top: 30px;
        padding-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-links {
        gap: 15px 20px;
        margin-top: 25px;
        flex-wrap: wrap;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-links a {
        padding: 8px 5px;
        word-wrap: break-word;
    }
    
    .newsletter-form input[type="email"] {
        width: 100%;
        box-sizing: border-box;
    }
    
    .newsletter-form .cta-button {
        width: 100%;
        margin-top: 10px;
        box-sizing: border-box;
    }
    
    /* Card adjustments */
    .card {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    /* Section spacing */
    .intro-section, 
    .featured-services, 
    .featured-case-studies,
    .insights {
        margin-bottom: 50px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Fix any horizontal overflow issues */
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .featured-insights {
        grid-template-columns: 1fr;
    }
    
    .value-props {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .container {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero {
        padding: 40px 30px;
        margin: 0 0 40px;
        border-radius: 0;
    }
    
    .intro-content h2 {
        font-size: 1.8rem;
    }
    
    .intro-content > p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-props {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-prop {
        min-width: unset;
        width: 100%;
        padding: 25px 20px;
    }
    
    .insight-card {
        min-width: unset;
        width: 100%;
    }
    
    .case-studies-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .results-preview {
        flex-direction: column;
        gap: 15px;
    }
    
    .home-cta .cta-container {
        padding: 40px 20px;
    }
    
    .home-cta h2 {
        font-size: 1.8rem;
    }
    
    #substack-posts {
        grid-template-columns: 1fr;
    }
    
    .substack-post-image {
        height: 200px;
    }
    
    .featured-services h2,
    .featured-case-studies h2,
    .insights h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    #substack-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}