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

html {
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background: #ffffff;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: black;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}
h2 {
    font-size: 3rem;
}
h3 {
    font-size: 2rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Variables */
:root {
    --primary-color: #4f46e5;
    --accent-color: #7c3aed;
    --background-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.95);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: rgba(229, 231, 235, 0.3);
    --fg: var(--text-color);
    --fg-light: var(--text-light);
    --bg: var(--background-color);
    --radius: 16px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 8px 32px rgba(31, 41, 55, 0.1);
    --nav-shadow: 0 4px 16px rgba(31, 41, 55, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --nav-spacing: 48px;
}

/* Layout */
.section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

section {
    width: 100%;
    position: relative;
    overflow: visible;
}

.section-content:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(229, 231, 235, 0.15) 20%,
        rgba(229, 231, 235, 0.15) 80%,
        transparent
    );
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 16px;
    background: linear-gradient(135deg, black, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Wave Animation */
@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(14deg);
    }
    20% {
        transform: rotate(-8deg);
    }
    30% {
        transform: rotate(14deg);
    }
    40% {
        transform: rotate(-4deg);
    }
    50% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.wave {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

/* Hero Titles */
.hero-titles {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-title-tag {
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.copywriter {
    background: linear-gradient(
        135deg,
        rgba(31, 41, 55, 0.05),
        rgba(31, 41, 55, 0.1)
    );
}

.web-designer {
    background: linear-gradient(
        135deg,
        rgba(107, 114, 128, 0.05),
        rgba(107, 114, 128, 0.1)
    );
}

.web-developer {
    background: linear-gradient(
        135deg,
        rgba(229, 231, 235, 0.2),
        rgba(229, 231, 235, 0.3)
    );
}

/* Hero Section */
.hero-container {
    position: relative;
    width: 100%;
    min-height: 90vh;
    margin: 0 0 120px 0;
    padding: 0;
    background-color: white;
    overflow: hidden;
}

.hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(
            135deg,
            rgba(79, 70, 229, 0.03) 0%,
            rgba(124, 58, 237, 0.03) 100%
        ),
        url("Assets/grid-pattern.svg");
    background-size:
        100% 100%,
        50px 50px;
    background-position: center, center;
    pointer-events: none;
}

.hero {
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 24px;
}

.hero-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    position: relative;
}

.hero-avatar img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-label {
    font-family: "Shadows Into Light", cursive;
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 400;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 32px;
    color: black;
    font-weight: 900;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
    color: var(--text-color);
}

.hero-cta {
    display: flex;
    gap: 24px;
    justify-content: center;
}

/* Services Section */
.services-section {
    position: relative;
    background: #fff; /* Keep white background for the section */
    width: 100%;
    overflow: hidden;
}

.services-section .section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.services-grid {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    width: 100%;
    grid-template-columns: unset;
}

.service-card {
    flex: 0 0 100%;
    min-width: 100%;
    margin-right: 0;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition) !important;
}

.service-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

.service-card h3 {
    font-size: 1.2rem;
    color: black; /* Keep black title */
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: left;
    margin-bottom: 1.25rem; /* Slightly INCREASED margin below the title */
}

.service-description {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
    color: var(--text-light); /* Use your light text color */
    margin-bottom: 2rem; /* INCREASED margin below description */
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    min-height: 250px; /* Increased height */
    padding: 1rem;
}

.service-image img {
    width: auto; /* Changed from 100% to auto */
    height: 100%;
    max-height: 250px; /* Increased max-height */
    object-fit: contain; /* Keep contain for proper scaling */
}

.service-fit {
    margin-top: auto; /* Push "Perfect for you if" to the bottom */
    text-align: left; /* Reset text-align to left */
}

.service-fit h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color); /* Use your text color */
    text-align: left;
}

.service-fit ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem; /* Add space between list and button */
}

.service-fit li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.service-fit li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color); /* Keep bullet point color */
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    background: #fff;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 0 !important;
    overflow: hidden;
}

.testimonials-section .section-content {
    position: relative;
}

.testimonials-section .section-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.85) 70%,
        rgba(255, 255, 255, 0.95) 85%,
        rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none;
}

.testimonials-grid {
    column-count: 3;
    column-gap: 24px;
    width: 100%;
}

.testimonial-card {
    break-inside: avoid;
    padding: 32px;
    margin-bottom: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

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

.author-info strong {
    font-size: 0.9rem;
    color: var(--text-color);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        column-count: 1;
    }

    .testimonial-card {
        padding: 24px;
        margin-bottom: 16px;
    }
}

/* About Section */
.about-section {
    position: relative;
    background: #fff;
    width: 100%;
    overflow: visible;
}

.about-section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 0 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 70%;
    height: auto;
    display: block;
    filter: drop-shadow(-8px 10px 20px rgba(0, 0, 0, 0.15));
}

.about-text {
    max-width: 500px;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, black, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-text b {
    color: var(--text-color);
    font-weight: 600;
}

/* Media Queries for About Section */
@media (max-width: 820px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
    }

    .about-image {
        position: sticky;
        bottom: 0;
        margin-top: 2rem;
    }

    .about-text {
        max-width: 100%;
        grid-row: 1;
        padding-bottom: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-image {
        width: 100%;
        position: sticky;
        bottom: 0;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        grid-row: 2;
        margin-bottom: -2rem;
        z-index: 1;
    }

    .about-image img {
        width: 70%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
    }
}

/* Work Section */
.work-section {
    position: relative;
    background: #fff;
    width: 100%;
    overflow: hidden;
}

/* Samples List Styles */
.samples-list {
    margin-top: 80px;
    padding: 40px;
    background: rgba(79, 70, 229, 0.03);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.samples-list h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-color);
}

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

.sample-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
}

.sample-link:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

.sample-link i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.sample-info {
    flex: 1;
}

.sample-info h4 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 4px;
}

.sample-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .samples-grid {
        grid-template-columns: 1fr;
    }

    .samples-list {
        padding: 24px;
        margin-top: 60px;
    }
}

.work-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 100%;
}

.work-card {
    width: 80%;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 400px;
}

.work-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.work-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transition: var(--transition);
}

.category-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.category-pill {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.work-info h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.75rem;
}

.work-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.view-project {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
}

.view-project svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.work-card:hover .view-project {
    opacity: 1;
    transform: translateX(0);
}

.work-card:hover .view-project:hover svg {
    transform: translateX(4px);
}

/* CTA Section */
.cta-section {
    position: relative;
    background: #fff;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.cta-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 24px;
}

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

.cta-text {
    margin-bottom: 40px;
}

.cta-text h2 {
    margin-bottom: 16px;
    background: linear-gradient(135deg, black, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.cta-text p {
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
}

@media (max-width: 768px) {
    .cta-container {
        padding: 120px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .cta-buttons .button {
        width: 100%;
    }
}

/* Footer */
.footer {
    border-top: 1px solid rgba(229, 231, 235, 0.8);
    padding: 32px 24px;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-light);
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-links a:hover {
    color: var(--text-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }
}

/* Case Study Pages */
.case-study-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.case-study-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Case Study Content Sections */
.case-study-content > h2 {
    position: relative;
    padding-top: 5rem;
    margin-top: 5rem;
}

.case-study-content > h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--border-color) 20%,
        var(--border-color) 80%,
        transparent
    );
}

.case-study-content > h2:first-child {
    padding-top: 0;
    margin-top: 0;
}

.case-study-content > h2:first-child::before {
    display: none;
}

/* Results Section Enhancement */
.results-section {
    margin-top: 5rem;
    position: relative;
}

.results-section::before {
    content: "";
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--border-color) 20%,
        var(--border-color) 80%,
        transparent
    );
}

.case-study-hero-wrapper {
    width: 100%;
    margin-top: -120px;
    overflow: hidden;
}

.case-study-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
    overflow: hidden;
    padding-top: 120px; /* Add padding to account for the fixed navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.case-study-hero .hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(20px); /* Move content down slightly */
}

.case-study-hero h1 {
    color: white;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.case-study-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.75rem;
    margin-bottom: 0;
    font-weight: 500;
}

.case-study-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.case-study-content h2 {
    font-size: 3rem;
    margin: 3rem 0 1.25rem;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.case-study-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.case-study-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.case-study-content ul {
    margin-bottom: 1.5rem;
}

/* Process Step Improvements */
.process-step ul {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.process-step li {
    margin-bottom: 0.75rem;
}

.process-list {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.process-list li {
    margin-bottom: 0.75rem;
}

.process-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 1rem 0;
}

/* Results Section Enhancement */
.results-section h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.results-section ul {
    margin-bottom: 1.5rem;
}

.case-study-content blockquote {
    font-size: 1.25rem;
    margin: 2.5rem 0;
}

.case-study-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.process-step {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: var(--radius);
    padding: 3rem;
    margin: 3rem 0;
    position: relative;
    counter-increment: step;
}

.process-step h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.process-step h3::before {
    content: counter(step);
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .case-study-container {
        padding: 2rem 1rem;
    }

    .process-step {
        padding: 2rem;
        margin: 2rem 0;
    }

    .process-step h3 {
        font-size: 1.5rem;
    }

    .case-study-hero {
        height: 60vh;
        min-height: 500px;
    }

    .case-study-hero h1 {
        font-size: 2.5rem;
    }

    .case-study-hero p {
        font-size: 1.1rem;
    }

    .case-study-content h2 {
        font-size: 2.25rem;
    }

    .case-study-content h3 {
        font-size: 1.5rem;
    }
}

/* Differentiators Section */
.differentiators-section {
    position: relative;
    background: #fff;
    width: 100%;
    overflow: hidden;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    padding: 0 1rem;
}

.differentiator-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.differentiator-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

.differentiator-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.differentiator-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.differentiator-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .differentiators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .differentiators-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .differentiator-card {
        padding: 1.5rem;
    }

    .differentiator-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .differentiator-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 24px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-between;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.bottom-nav-link:hover,
.bottom-nav-link:active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
}

.bottom-nav-link svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        z-index: 1001;
    }
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 250px;
    z-index: 1000;
    padding: 12px 32px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.nav-links {
    position: relative;
    display: flex;
    gap: 0.7rem;
    padding: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

.nav-links::before,
.nav-links::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
}

.nav-links::before {
    left: -24px;
}

.nav-links::after {
    right: -24px;
}

.logo {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-right: auto;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    transform: scale(1.05);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    border: none;
    transition: var(--transition);
    margin-left: auto;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    white-space: nowrap;
}

.button.primary {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    color: white;
    border: 1px solid rgba(79, 70, 229, 0.15);
    text-align: center;
    justify-content: center;
    min-width: 200px;
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    min-width: 200px;
    text-align: center;
    justify-content: center;
}

.button.secondary:hover {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.03);
}

/* Add these new styles */
.carousel-container {
    position: relative;
    overflow: visible;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

.services-carousel {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 2rem;
}

.service-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 2.5rem;
    opacity: 0.4;
    transform: scale(0.95);
    transition: all 0.3s ease-in-out;
    pointer-events: auto;
    cursor: pointer;
}

.service-card.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    cursor: default;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    position: static;
    transform: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Create a container for all navigation elements */
.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* Remove existing grid styles */
.services-grid {
    display: flex !important;
    gap: 0 !important;
    grid-template-columns: unset !important;
}

@media (min-width: 768px) {
    .service-card {
        flex: 0 0 calc(100% - 2rem);
        min-width: calc(100% - 2rem);
        padding: 3rem;
    }
}

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

    .services-carousel {
        gap: 0;
    }

    .service-card {
        flex: 0 0 100%;
        min-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: scale(0.95);
        opacity: 0.4;
        transition: all 0.3s ease-in-out;
        padding: 2rem;
    }

    .service-image {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 1rem 0 2rem;
    }

    .service-image img {
        width: auto;
        height: auto;
        max-width: 80%;
        max-height: 200px;
        object-fit: contain;
    }

    .service-card.active {
        transform: scale(1);
        opacity: 1;
    }

    .service-card > .card-inner {
        width: 85%;
    }

    .button.primary {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }

    .carousel-navigation {
        gap: 1rem;
        margin-top: 1.5rem;
    }
}

@media (min-width: 769px) {
    .service-card a.button.primary {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Add this new media query to hide desktop nav on mobile */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-container {
        min-height: 80vh;
        margin-bottom: 60px;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 24px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-label {
        font-size: 1.25rem;
    }

    .hero-avatar {
        width: 48px;
        height: 48px;
    }

    .hero-intro {
        gap: 16px;
        margin-bottom: 24px;
    }
}

/* Improved Visual Hierarchy for Project-One Case Study */

/* Hero Section – Make the title and subtitle more prominent */
.case-study-hero .hero-content h1 {
    font-size: 4rem; /* Increase the hero title size */
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.case-study-hero .hero-content p {
    font-size: 1.75rem; /* Slightly larger subtitle for impact */
    margin-bottom: 2rem;
}

/* Section Headings – Enhance the separation between sections */
.case-study-content h2 {
    font-size: 3rem; /* A bolder, larger font for main section headings */
    margin: 3rem 0 1.25rem; /* Increase vertical spacing */
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Process Step Subheadings – Clearly differentiate these from body text */
.case-study-content h3,
.process-step h3 {
    font-size: 2rem; /* Larger font size to create a clear sub-hierarchy */
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Body Paragraphs – Improved readability */
.case-study-content p {
    font-size: 1.125rem; /* Slightly larger body copy */
    line-height: 1.8; /* Increase line height for better reading comfort */
    margin-bottom: 1.5rem;
}

/* Lists – Ensure adequate left margin and spacing */
.case-study-content ul {
    margin-bottom: 1.5rem;
}

/* Process Step Improvements */
.process-step ul {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.process-step li {
    margin-bottom: 0.75rem;
}

.process-list {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.process-list li {
    margin-bottom: 0.75rem;
}

.process-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 1rem 0;
}

/* Results Section Enhancement */
.results-section h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.results-section ul {
    margin-bottom: 1.5rem;
}

/* Enhanced Blockquote Styling – Make quotes stand out */
.case-study-content blockquote {
    font-size: 1.25rem;
    margin: 2.5rem 0;
}

/* Process Steps Improvements */
.process-step {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: var(--radius);
    padding: 3rem;
    margin: 3rem 0;
    position: relative;
}

.process-step h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.process-step h3::before {
    content: counter(step);
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Overall Case Study Container – Increase padding for breathing room */
.case-study-container {
    padding: 2rem 1rem 4rem;
}

/* Results Section Enhancement */
.results-section {
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, 0.05),
        rgba(124, 58, 237, 0.05)
    );
    border-radius: var(--radius);
    padding: 3rem;
    margin: 4rem 0;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.results-section h2 {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.results-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-section li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.results-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Limit image sizes in image groups to prevent them from appearing too large */
.image-group {
    margin: 3rem 0;
}

.image-group figure {
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
}

.image-group img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--radius);
}

.image-group figcaption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}
