/* CSS Variables for Theme Support */
:root {
    /* Light Mode Colors (Default) */
    --bg-primary: #fff;
    --bg-secondary: #f5f7fa;
    --bg-tertiary: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
    --bg-gradient-alt: linear-gradient(135deg, #e8ecf3 0%, #d9dfe8 100%);
    --bg-card: #fff;
    --bg-card-hover: linear-gradient(135deg, #f8f6fc 0%, #f0ebf8 100%);
    --bg-input: #f8f8f8;

    --text-primary: #1a1a1a;
    --text-secondary: #333;
    --text-tertiary: #5f6368;
    --text-muted: #666;

    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(124, 92, 188, 0.15);

    --accent-primary: #7c5cbc;
    --accent-secondary: #8b6fc7;
    --accent-light: #e8e1f3;
    --accent-lighter: #f0ebf8;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-2xl: 60px;
    --spacing-3xl: 80px;

    /* Font Sizes */
    --font-size-xs: 14px;
    --font-size-sm: 16px;
    --font-size-base: 18px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    --font-size-2xl: 28px;
    --font-size-3xl: 36px;
    --font-size-4xl: 48px;
    --font-size-5xl: 56px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --container-max-width: 1400px;
    --header-height: 80px;
    --nav-gap: 10px;
}

html[data-theme="dark"],
body[data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --bg-tertiary: linear-gradient(135deg, #242424 0%, #2a2a2a 100%);
    --bg-gradient-alt: linear-gradient(135deg, #2a2a2a 0%, #303030 100%);
    --bg-card: #2a2a2a;
    --bg-card-hover: linear-gradient(135deg, #2f2a3c 0%, #352e42 100%);
    --bg-input: #333;

    --text-primary: #e8e8e8;
    --text-secondary: #d4d4d4;
    --text-tertiary: #a8a8a8;
    --text-muted: #999;

    --border-color: #404040;
    --border-light: #333;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(124, 92, 188, 0.3);

    --accent-primary: #8b6fc7;
    --accent-secondary: #9d7fd9;
    --accent-light: #3a2f4a;
    --accent-lighter: #2f2538;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--spacing-xs) var(--spacing-lg);
    cursor: pointer;
    font-size: var(--font-size-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: var(--text-muted);
}

.theme-toggle:hover {
    background-color: var(--accent-light);
    color: var(--accent-primary);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-icon {
    display: inline-block;
    transition: transform var(--transition-base);
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-secondary);
    line-height: 1.6;
    background-color: var(--bg-primary);
    transition: background-color var(--transition-base), color var(--transition-base);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* Header */
.header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.logo {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--nav-gap);
    align-items: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link.active {
    background-color: var(--accent-light);
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    background: var(--bg-tertiary);
    padding: var(--spacing-3xl) 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-text h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.highlight {
    color: var(--accent-primary);
    display: block;
}

.subtitle {
    font-size: var(--font-size-base);
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.btn {
    padding: 14px var(--spacing-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* Button Hover Effect Grid */
.btn-content {
    pointer-events: none;
    position: relative;
    z-index: 3;
}

.btn-cells {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
}

/* Modern browsers with anchor positioning support */
@supports (position-anchor: --hovered-cell) {
    .btn-cells::before {
        content: "";
        position: absolute;
        position-anchor: --hovered-cell;
        left: calc(anchor(left) - 20px);
        right: calc(anchor(right) - 20px);
        top: calc(anchor(top) - 20px);
        bottom: calc(anchor(bottom) - 20px);
        margin: 0 auto auto;
        width: 10px;
        aspect-ratio: 1;
        background: #51f0ed;
        background-image: linear-gradient(
            to right,
            #8b6fc7,
            color-mix(in srgb, #7c5cbc, white 50%)
        );
        border-radius: 100vw;
        transition: all 400ms ease, margin 0ms 400ms;
        transition-behavior: allow-discrete;
        transform: scale(0);
    }

    .btn-cells:has(> :nth-child(n + 11):hover)::before {
        margin: auto auto 0;
    }

    .btn-cells:hover::before {
        transform: scale(55);
        transition: transform 400ms ease, margin 0ms 0ms;
    }

    .btn-cells span {
        position: relative;
    }

    .btn-cells:not(:hover) span {
        transition: anchor-name 0ms 400ms;
        transition-behavior: allow-discrete;
    }

    .btn-cells span:hover {
        anchor-name: --hovered-cell;
        transition: anchor-name 0ms;
    }
}

/* Fallback for browsers without anchor positioning */
@supports not (position-anchor: --hovered-cell) {
    .btn:hover {
        background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(124, 92, 188, 0.4);
    }
}

/* Button Styles */

.btn-primary {
    background-color: #7c5cbc;
    color: white;
    border: 2px solid #7c5cbc;
}

.btn-primary:hover {
    background-color: #6b4aa8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 92, 188, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #7c5cbc;
    border: 2px solid #7c5cbc;
}

.btn-secondary:hover {
    background-color: #7c5cbc;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-tertiary);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card-hover);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 8px 20px rgba(124, 92, 188, 0.25);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-tertiary);
    line-height: 1.7;
    font-size: 16px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-gradient-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.service-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-item p {
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-item .price {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 18px;
    margin-top: 16px;
}

.services-image {
    position: relative;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--bg-card-hover);
    padding: 40px 30px;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    font-size: 48px;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.3;
}

.stars {
    color: #ffa500;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.author {
    border-top: 2px solid var(--border-light);
    padding-top: 20px;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-title {
    color: var(--text-tertiary);
    font-size: 14px;
}

.testimonials-cta {
    text-align: center;
    margin-top: 50px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.btn-white {
    background-color: var(--bg-primary);
    color: #7c5cbc;
    border: 2px solid var(--bg-primary);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--bg-primary);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid var(--bg-primary);
}

.btn-outline:hover {
    background-color: var(--bg-primary);
    color: #7c5cbc;
}

/* Services Cards Section */
.services-cards-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card-new {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.service-card-new:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.service-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.blue-icon {
    background: linear-gradient(135deg, #8b9dc7 0%, #6b7fa8 100%);
    box-shadow: 0 8px 20px rgba(107, 127, 168, 0.3);
}

.purple-icon {
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    box-shadow: 0 8px 20px rgba(124, 92, 188, 0.3);
}

.service-card-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-badge {
    display: inline-block;
    background: var(--accent-lighter);
    color: var(--accent-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.service-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 25px;
}

.service-perfect-for h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.perfect-for-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.perfect-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.perfect-item svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-gradient-alt);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    gap: 20px;
}

.step-item {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(124, 92, 188, 0.3);
}

.step-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-item p {
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.step-arrow {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.step-arrow svg {
    display: block;
}

/* Additional Services Section */
.additional-services {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.additional-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.additional-services-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.additional-desc {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.additional-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.additional-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-secondary);
}

.additional-list svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.btn-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.additional-services-image {
    position: relative;
}

.additional-services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Page Header */
.page-header {
    padding: 80px 0 60px;
    background: var(--bg-tertiary);
    text-align: center;
}

.page-header h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Detail Section */
.services-detail {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.service-detail-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-light);
}

.service-detail-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #8b9dc7 0%, #6b7fa8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(107, 127, 168, 0.3);
}

.service-detail-icon.heat-press {
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    box-shadow: 0 8px 25px rgba(124, 92, 188, 0.3);
}

.service-detail-icon.dtg {
    background: linear-gradient(135deg, #c76f8b 0%, #bc5c7c 100%);
    box-shadow: 0 8px 25px rgba(188, 92, 124, 0.3);
}

.service-detail-icon.embroidery {
    background: linear-gradient(135deg, #6fc78b 0%, #5cbc7c 100%);
    box-shadow: 0 8px 25px rgba(92, 188, 124, 0.3);
}

.service-detail-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.service-price {
    font-size: 18px;
    color: var(--accent-primary);
    font-weight: 600;
}

.service-detail-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-tertiary);
    margin-bottom: 30px;
}

.service-features,
.service-ideal {
    margin-top: 30px;
}

.service-features h3,
.service-ideal h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.service-features ul {
    list-style: none;
    padding-left: 0;
}

.service-features li {
    padding-left: 32px;
    margin-bottom: 12px;
    position: relative;
    color: var(--text-tertiary);
    line-height: 1.7;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 18px;
}

.service-ideal p {
    color: var(--text-tertiary);
    line-height: 1.8;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about .logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.footer-about p {
    color: var(--text-tertiary);
    line-height: 1.7;
    max-width: 400px;
}

.footer-links h4,
.footer-legal h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
}

/* Portfolio Stats Section */
.portfolio-stats {
    padding: 60px 0;
    background-color: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Portfolio Filter Section */
.portfolio-section {
    padding: 60px 0 100px;
    background-color: var(--bg-primary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-tertiary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    border-color: var(--accent-primary);
    color: white;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 13px;
    padding: 0 8px;
}

.filter-btn:not(.active) .filter-count {
    background-color: var(--border-light);
    color: var(--text-tertiary);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(124, 92, 188, 0.3);
}

.portfolio-content {
    padding: 30px;
}

.portfolio-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.portfolio-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.portfolio-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.meta-item svg {
    color: var(--accent-primary);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.portfolio-link:hover {
    gap: 12px;
}

.portfolio-link svg {
    transition: transform 0.3s ease;
}

.portfolio-link:hover svg {
    transform: translateX(4px);
}

/* Portfolio CTA */
.portfolio-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    text-align: center;
    color: white;
}

.portfolio-cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.portfolio-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0 100px;
    background-color: var(--bg-primary);
}

.gallery-filter-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-label svg {
    color: var(--accent-primary);
}

.gallery-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-tertiary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-filter-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    border-color: var(--accent-primary);
    color: white;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(124, 92, 188, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 111, 199, 0.9) 0%, rgba(124, 92, 188, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay svg {
    color: white;
}

.gallery-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(124, 92, 188, 0.3);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background-color: var(--bg-card);
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg);
}

.modal-close svg {
    color: var(--text-secondary);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.modal-image {
    width: 100%;
    height: 500px;
    background-color: #f5f5f5;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-info {
    padding: 40px;
}

.modal-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.modal-info p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.modal-category-tag {
    display: inline-block;
    background: var(--accent-lighter);
    color: var(--accent-primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.modal-info .btn {
    margin-top: 10px;
}

/* Gallery CTA */
.gallery-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    text-align: center;
    color: white;
}

.gallery-cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.gallery-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Testimonials Stats Section */
.testimonial-stats {
    padding: 60px 0;
    background-color: var(--bg-primary);
}

.testimonial-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.testimonial-stat-item {
    text-align: center;
}

.testimonial-stat-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.testimonial-stat-icon.blue {
    background: linear-gradient(135deg, #8b9dc7 0%, #6b7fa8 100%);
    box-shadow: 0 8px 25px rgba(107, 127, 168, 0.3);
}

.testimonial-stat-icon.purple {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    box-shadow: 0 8px 25px rgba(124, 92, 188, 0.3);
}

.testimonial-stat-icon.dark-purple {
    background: linear-gradient(135deg, #7c5c9d 0%, #6b4a8c 100%);
    box-shadow: 0 8px 25px rgba(107, 74, 140, 0.3);
}

.testimonial-stat-icon.pink-purple {
    background: linear-gradient(135deg, #9d7c9d 0%, #8c6b8c 100%);
    box-shadow: 0 8px 25px rgba(140, 107, 140, 0.3);
}

.testimonial-stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 12px;
    line-height: 1;
}

.testimonial-stat-label {
    font-size: 16px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Featured Testimonial */
.featured-testimonial-section {
    padding: 60px 0;
    background-color: var(--bg-secondary);
}

.featured-testimonial-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.featured-testimonial-image {
    position: relative;
    background: linear-gradient(135deg, #e8ecf3 0%, #d9dfe8 100%);
    min-height: 400px;
}

.featured-testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-testimonial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 30px;
    color: white;
}

.featured-testimonial-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.featured-testimonial-overlay p {
    font-size: 15px;
    margin: 0;
    opacity: 0.9;
}

.featured-testimonial-content {
    padding: 50px;
    position: relative;
}

.quote-icon-large {
    font-size: 80px;
    color: #7c5cbc;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.2;
}

.featured-testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.stars-large {
    color: #ffa500;
    font-size: 28px;
    margin-bottom: 20px;
}

.testimonial-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(124, 92, 188, 0.3);
}

/* Testimonials Grid Section */
.testimonials-grid-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.testimonials-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-review-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.testimonial-review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(124, 92, 188, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.testimonial-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: 14px;
    color: #7c5cbc;
    margin: 0;
    font-weight: 600;
}

.testimonial-company {
    font-size: 13px;
    color: #7c5cbc;
    margin: 0;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    color: #5f6368;
    margin: 20px 0;
}

.testimonial-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.testimonial-tag {
    display: inline-block;
    background: linear-gradient(135deg, #e8e1f3 0%, #f0ebf8 100%);
    color: #7c5cbc;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.testimonial-project {
    font-size: 13px;
    color: #9e9e9e;
}

/* Why Choose Section */
.why-choose-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.why-choose-card {
    background: var(--bg-primary);
    padding: 40px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(124, 92, 188, 0.15);
}

.why-choose-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.why-choose-icon.blue {
    background: linear-gradient(135deg, #8b9dc7 0%, #6b7fa8 100%);
    box-shadow: 0 8px 25px rgba(107, 127, 168, 0.3);
}

.why-choose-icon.purple {
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    box-shadow: 0 8px 25px rgba(124, 92, 188, 0.3);
}

.why-choose-icon.pink {
    background: linear-gradient(135deg, #9d7c9d 0%, #8c6b8c 100%);
    box-shadow: 0 8px 25px rgba(140, 107, 140, 0.3);
}

.why-choose-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.why-choose-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #5f6368;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form */
.contact-form-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-form-header {
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    color: white;
    padding: 30px 35px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form-header h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.form-description {
    padding: 25px 35px 10px;
    color: #fff;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.contact-form {
    padding: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--bg-input);
    color: var(--text-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: var(--bg-card);
}

.form-group textarea {
    resize: vertical;
}

.btn-full {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 16px;
}

/* Contact Information */
.contact-info-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-info-subtitle {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.contact-info-icon.blue {
    background: linear-gradient(135deg, #8b9dc7 0%, #6b7fa8 100%);
    box-shadow: 0 6px 20px rgba(107, 127, 168, 0.3);
}

.contact-info-icon.purple {
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    box-shadow: 0 6px 20px rgba(124, 92, 188, 0.3);
}

.contact-info-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.contact-info-main {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 4px 0;
}

.contact-info-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Business Hours */
.business-hours-card {
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    color: white;
}

.business-hours-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.business-hours-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.business-hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.business-hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.business-hours-item:last-child {
    border-bottom: none;
}

.hours-time {
    font-weight: 700;
}

.hours-time.closed {
    color: rgba(255, 255, 255, 0.7);
}

/* Response Guarantee */
.response-guarantee {
    background: var(--accent-lighter);
    padding: 20px 24px;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    align-items: start;
}

.response-guarantee svg {
    color: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.response-guarantee h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0 0 6px 0;
}

.response-guarantee p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-tertiary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.faq-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.faq-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 50px;
}

.faq-cta p {
    font-size: 18px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

/* Testimonials CTA */
.testimonials-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    text-align: center;
    color: white;
}

.testimonials-cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.testimonials-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Case Study Modal */
.case-study-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.case-study-modal.active {
    display: block;
}

.case-study-content {
    position: relative;
    background-color: var(--bg-primary);
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

.case-study-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--bg-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.case-study-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg);
}

.case-study-close svg {
    color: var(--text-secondary);
}

.case-study-header {
    position: relative;
    height: 400px;
    background: #e0e0e0;
}

.case-study-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 40px;
    color: white;
}

.case-study-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-study-header-overlay h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.case-study-header-overlay p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.case-study-body {
    padding: 50px;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.case-study-stat {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.case-study-stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8b6fc7 0%, #7c5cbc 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    box-shadow: 0 8px 20px rgba(124, 92, 188, 0.3);
}

.case-study-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.case-study-stat-label {
    font-size: 14px;
    color: #5f6368;
    font-weight: 600;
}

.case-study-section {
    margin-bottom: 40px;
}

.case-study-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.case-study-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #5f6368;
    margin: 0;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.case-study-result {
    display: flex;
    align-items: start;
    gap: 12px;
}

.case-study-result svg {
    color: #7c5cbc;
    flex-shrink: 0;
    margin-top: 2px;
}

.case-study-result span {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.case-study-feedback {
    background: linear-gradient(135deg, #e8e1f3 0%, #f0ebf8 100%);
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.case-study-feedback h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.case-study-quote {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0 0 12px 0;
}

.case-study-author {
    font-size: 15px;
    color: #7c5cbc;
    font-weight: 600;
    margin: 0;
}

.case-study-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 36px;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .additional-services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .additional-services-image {
        order: -1;
    }

    .perfect-for-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-cta h2 {
        font-size: 36px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-filter-section {
        flex-direction: column;
        gap: 20px;
    }

    .gallery-cta h2 {
        font-size: 36px;
    }

    .modal-image {
        height: 400px;
    }

    .testimonial-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-testimonial-card {
        grid-template-columns: 1fr;
    }

    .featured-testimonial-image {
        min-height: 300px;
    }

    .testimonials-cards-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-cta h2 {
        font-size: 36px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 18px;
    }

    .additional-services-content h2 {
        font-size: 32px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .step-item h3 {
        font-size: 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 42px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .portfolio-cta h2 {
        font-size: 32px;
    }

    .portfolio-cta p {
        font-size: 18px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-cta h2 {
        font-size: 32px;
    }

    .gallery-cta p {
        font-size: 18px;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-image {
        height: 300px;
    }

    .modal-info {
        padding: 24px;
    }

    .modal-info h2 {
        font-size: 24px;
    }

    .testimonial-stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-stat-number {
        font-size: 42px;
    }

    .featured-testimonial-content {
        padding: 30px;
    }

    .featured-testimonial-text {
        font-size: 16px;
    }

    .stars-large {
        font-size: 24px;
    }

    .testimonials-cta h2 {
        font-size: 32px;
    }

    .testimonials-cta p {
        font-size: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-form-header {
        padding: 25px;
    }

    .form-description {
        padding: 20px 25px 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-tags {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-info-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-icon {
        margin: 0 auto;
    }

    .case-study-content {
        margin: 20px;
    }

    .case-study-body {
        padding: 30px 20px;
    }

    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .case-study-header {
        height: 300px;
    }

    .case-study-header-overlay {
        padding: 25px;
    }

    .case-study-header-overlay h2 {
        font-size: 24px;
    }

    .case-study-results {
        grid-template-columns: 1fr;
    }

    .case-study-actions {
        flex-direction: column;
    }

    .case-study-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .case-study-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}