/* case-studies.css - Styles specific to the Case Studies page */
/* ----- Hero Section ----- */
.case-studies-hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-16) 0 var(--space-12);
}

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

.neural-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(85, 85, 155, 0.1) 1px, transparent 1px),
                       linear-gradient(to bottom, rgba(85, 85, 155, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-title {
    font-size: var(--text-5xl);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    background: linear-gradient(to right, var(--text-white), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-light);
    margin-bottom: var(--space-6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ----- General Section Styles ----- */
.section {
    position: relative;
    padding: var(--space-12) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-8);
}

.section-title {
    margin-bottom: var(--space-3);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width var(--transition-base);
}

.section-title:hover::after {
    width: 100px;
}

.section-description {
    color: var(--text-light);
    font-size: var(--text-lg);
    max-width: 700px;
    margin: 0 auto;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(98, 0, 238, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.section:nth-child(even) {
    background-color: var(--surface);
}

/* ----- Case Studies Filter Section ----- */
.case-filter-section {
    position: relative;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.filter-button {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-button:hover {
    background-color: rgba(98, 0, 238, 0.1);
    color: var(--text-white);
    transform: translateY(-2px);
    border-color: var(--secondary);
}

.filter-button.active {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* ----- Case Studies Grid Section ----- */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.case-study-card {
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary);
}

.case-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;

    /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.case-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(18, 18, 40, 0.8) 100%);
    z-index: 1;
}

.case-tag {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background-color: var(--primary);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.case-content {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: var(--text-white);
    transition: color var(--transition-base);
}

.case-study-card:hover .case-title {
    color: var(--secondary);
}

.case-description {
    color: var(--text-light);
    margin-bottom: var(--space-4);
    flex-grow: 1;
    font-size: var(--text-sm);
}

.case-metrics {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--secondary);
}

.metric-label {
    font-size: var(--text-xs);
    color: var(--text-light);
}

.case-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--secondary);
    transition: all var(--transition-base);
}

.case-link .arrow {
    margin-left: var(--space-1);
    transition: transform var(--transition-base);
}

.case-link:hover {
    color: var(--text-white);
}

.case-link:hover .arrow {
    transform: translateX(5px);
}

/* ----- Featured Case Study Section ----- */
.featured-case-section {
    position: relative;
}

.featured-case-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.featured-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary);
}

.featured-content {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
}

.featured-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    background-color: rgba(0, 229, 255, 0.1);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-4);
    align-self: flex-start;
}

.featured-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.featured-description {
    color: var(--text-light);
    margin-bottom: var(--space-6);
}

.featured-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding: var(--space-5) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.featured-result-value {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-1);
}

.featured-result-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-white);
}

.featured-result-prev {
    font-size: var(--text-xs);
    color: var(--text-medium);
    margin-top: var(--space-1);
}

.featured-image {
    position: relative;
    min-height: 100%;
    display: flex;
}

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

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 18, 40, 0.9) 0%, rgba(18, 18, 40, 0) 100%);
}

/* ----- Testimonials Slider ----- */
.testimonials-section {
    position: relative;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-slides {
    overflow: hidden;
    border-radius: var(--radius-md);
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: var(--space-6);
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-quote {
    position: relative;
    margin-bottom: var(--space-6);
    padding-top: var(--space-8);
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
    opacity: 0.2;
}

.testimonial-text {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--text-light);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--space-3);
    border: 2px solid var(--secondary);
}

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

.author-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-1);
}

.author-position {
    font-size: var(--text-sm);
    color: var(--secondary);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.slider-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(98, 0, 238, 0.1);
    color: var(--text-light);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-button:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
    cursor: pointer;
}

.slider-dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

/* ----- Client Brand Logos ----- */
.clients-section {
    text-align: center;
    padding-top: 0;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    margin-top: var(--space-6);
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.client-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

.client-logo img {
    max-height: 100%;
    max-width: 140px;
}

/* ----- CTA Section ----- */
.cta-section {
    position: relative;
    padding: var(--space-16) 0;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(98, 0, 238, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

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

.cta-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    color: var(--text-white);
}

.cta-description {
    font-size: var(--text-xl);
    color: var(--text-light);
    margin-bottom: var(--space-6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

/* Compact CTA Section for Case Studies page */
.compact-cta {
    padding: var(--space-8) 0;

    /* Reduced padding from typical var(--space-16) */
    margin: var(--space-6) 0;
}

.compact-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-6);
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
}

.compact-cta .cta-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
}

.compact-cta .cta-description {
    font-size: var(--text-lg);
    color: var(--text-light);
    margin-bottom: var(--space-5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.compact-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .compact-cta .cta-content {
        padding: var(--space-4);
    }

    .compact-cta .cta-title {
        font-size: var(--text-2xl);
    }

    .compact-cta .cta-description {
        font-size: var(--text-base);
    }

    .compact-cta .cta-buttons {
        flex-direction: column;
        gap: var(--space-3);
    }
}

/* more cta adjustments to make pictures less aggro */
/* Improved Featured Image Styling */
.featured-case-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;

    /* Adjust the ratio to give less space to the image */
    gap: var(--space-6);
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.featured-image {
    max-height: 450px;

    /* Limit the maximum height */
    overflow: hidden;
    position: relative;
}

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

    /* This ensures the image covers the area without distortion */
    object-position: center;

    /* Centers the image */
    transition: transform 0.3s ease;
}

.featured-case-card:hover .featured-image img {
    transform: scale(1.05);

    /* Subtle zoom effect on hover */
}

/* For the case study cards in the grid as well */
.case-study-card .case-image {
    max-height: 220px;

    /* Smaller height for the grid images */
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .featured-case-card {
        grid-template-columns: 1fr;

        /* Stack on smaller screens */
    }

    .featured-image {
        max-height: 300px;

        /* Even smaller on mobile */
        order: -1;

        /* Image shows first on mobile */
    }
}

/* ----- Single Case Study Modal ----- */
.case-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 8, 24, 0.95);
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.case-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    max-width: 1000px;
    margin: 50px auto;
    background-color: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.case-modal.active .modal-container {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    position: relative;
    width: 100%;
    height: 400px;
}

.modal-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 40, 0) 0%, rgba(18, 18, 40, 1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    background-color: rgba(18, 18, 40, 0.7);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 3;
}

.modal-close:hover {
    background-color: var(--secondary);
    transform: rotate(90deg);
}

.modal-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    background-color: rgba(0, 229, 255, 0.1);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
    align-self: flex-start;
}

.modal-title {
    font-size: var(--text-3xl);
    color: var(--text-white);
    margin-bottom: var(--space-3);
}

.modal-client {
    font-size: var(--text-lg);
    color: var(--text-light);
}

.modal-body {
    padding: var(--space-6);
}

.modal-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-6);
}

.modal-description {
    color: var(--text-light);
}

.modal-description p {
    margin-bottom: var(--space-4);
}

.modal-metrics {
    padding: var(--space-4);
    background-color: rgba(18, 18, 40, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.modal-metrics-title {
    font-size: var(--text-lg);
    color: var(--text-white);
    margin-bottom: var(--space-4);
    text-align: center;
}

.modal-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.modal-metric-item {
    text-align: center;
    padding: var(--space-2);
}

.modal-metric-value {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-1);
}

.modal-metric-label {
    font-size: var(--text-xs);
    color: var(--text-light);
}

.modal-metric-prev {
    font-size: var(--text-xs);
    color: var(--text-medium);
    margin-top: var(--space-1);
}

.modal-sections {
    margin-top: var(--space-8);
}

.modal-section {
    margin-bottom: var(--space-8);
}

.modal-section-title {
    font-size: var(--text-xl);
    color: var(--text-white);
    margin-bottom: var(--space-4);
    position: relative;
    padding-left: var(--space-3);
}

.modal-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
}

.modal-section-content {
    color: var(--text-light);
}

.modal-section-content p {
    margin-bottom: var(--space-4);
}

.modal-quote {
    padding: var(--space-6);
    background-color: rgba(18, 18, 40, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin: var(--space-8) 0;
    position: relative;
}

.modal-quote-icon {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    color: var(--secondary);
    opacity: 0.2;
}

.modal-quote-text {
    font-size: var(--text-lg);
    color: var(--text-light);
    font-style: italic;
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.modal-quote-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.modal-quote-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary);
}

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

.modal-quote-info {
    display: flex;
    flex-direction: column;
}

.modal-quote-name {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-white);
}

.modal-quote-position {
    font-size: var(--text-sm);
    color: var(--secondary);
}

.modal-cta {
    text-align: center;
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

.modal-cta-title {
    font-size: var(--text-xl);
    color: var(--text-white);
    margin-bottom: var(--space-4);
}

.modal-cta-text {
    color: var(--text-light);
    margin-bottom: var(--space-4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* JavaScript-controlled classes */
.animated {
    opacity: 0;
}

.animated.fadeIn {
    animation: fadeIn 1s ease forwards;
}

.animated.fadeInUp {
    animation: fadeInUp 1s ease forwards;
}

/* ----- Responsive Styles ----- */
@media (max-width: 1200px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-case-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 300px;
    }

    .featured-overlay {
        background: linear-gradient(0deg, rgba(18, 18, 40, 0.9) 0%, rgba(18, 18, 40, 0) 100%);
    }

    .modal-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .cta-title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 992px) {
    .case-metrics {
        flex-direction: column;
        gap: var(--space-2);
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .featured-content {
        padding: var(--space-5);
    }

    .featured-title {
        font-size: var(--text-2xl);
    }

    .featured-results {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .testimonial-text {
        font-size: var(--text-lg);
    }

    .cta-buttons {
        flex-direction: column;
        gap: var(--space-3);
    }

    .modal-header {
        height: 300px;
    }

    .modal-title {
        font-size: var(--text-2xl);
    }

    .modal-metrics-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .cta-title {
        font-size: var(--text-2xl);
    }

    .cta-description {
        font-size: var(--text-base);
    }
}

@media (max-width: 576px) {
    .filter-container {
        gap: var(--space-2);
    }

    .filter-button {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-3);
    }

    .featured-content {
        padding: var(--space-4);
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .section-description {
        font-size: var(--text-base);
    }

    .modal-container {
        margin: 30px auto;
    }

    .clients-grid {
        gap: var(--space-4);
    }

    .client-logo {
        height: 50px;
    }

    .client-logo img {
        max-width: 100px;
    }
}