:root {    --color-bg: #040509;    --color-surface: #0d1018;    --color-card: rgba(17, 21, 33, 0.8);    --color-primary: #8b5cf6;    --color-secondary: #ec4899;    --color-accent: #f5f5f5;    --color-text: #e6e8ef;    --color-muted: #8b90a3;    --container-width: min(1200px, 90vw);    --radius-lg: 28px;    --radius-md: 20px;    --radius-sm: 12px;    --shadow-soft: 0 40px 80px -35px rgba(139, 92, 246, 0.35);    --shadow-hard: 0 24px 48px -25px rgba(236, 72, 153, 0.45);    --gradient-hero: radial-gradient(circle at top left, rgba(139, 92, 246, 0.35), transparent 55%), radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.35), transparent 60%);}

* {
    box-sizing: border-box;
}

body.kinexis-modern-theme {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img, video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--color-primary);
}

.container {
    width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.eyebrow {
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--color-primary);
    margin: 0 0 1.5rem;
}

.button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.button-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #010104;
    box-shadow: var(--shadow-soft);
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 35px 60px -30px rgba(139, 92, 246, 0.55);
}

.button-ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text);
}

.button-ghost:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
}

.button-link {
    padding: 0;
    border-radius: 0;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-primary);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(14px);
    background: rgba(4, 5, 9, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions .button {
    display: inline-flex;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 1080px) {
    .header-actions > div:first-child {
        display: none;
    }
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: 0.18em;
}

.brand-mark {
    font-size: 1.3rem;
    font-weight: 700;
}

.brand-sub {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    color: var(--color-muted);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle-line {
    width: 20px;
    height: 2px;
    background: var(--color-text);
}

.site-navigation ul {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.site-navigation a {
    position: relative;
    padding-bottom: 0.35rem;
}

.site-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.25s ease;
}

.site-navigation a:hover::after,
.site-navigation .current-menu-item > a::after {
    width: 100%;
}

/* Hero */

.hero-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin: 0 0 1.5rem;
    letter-spacing: -0.025em;
}

.hero-copy .lead {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--color-muted);
    font-size: 0.75rem;
    letter-spacing: 0.24em;
}

.hero-visual {
    perspective: 1200px;
}

.hero-screen {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    transform: rotateY(-8deg) rotateX(3deg);
}

.hero-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1);
}

.hero-overlay-card {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    background: rgba(4, 5, 9, 0.85);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.hero-overlay-card h3 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-overlay-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15), transparent 55%), radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15), transparent 50%);
    pointer-events: none;
}

/* Metrics */

/* Experience section */
.experience {
    padding: 6rem 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    align-items: center;
}

.experience-media {
    min-height: 420px;
    border-radius: var(--radius-lg);
    background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
}

.experience-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.15), rgba(4,5,9,0.75));
}

.experience-content h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    letter-spacing: -0.02em;
}

.experience-list {
    margin: 2rem 0;
    padding-left: 1.4rem;
    color: var(--color-muted);
    display: grid;
    gap: 0.7rem;
}

/* Solutions */
.solutions {
    padding: 6rem 0 5rem;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.section-lead {
    color: var(--color-muted);
    margin: 0;
}

.solutions-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
    background: rgba(17, 21, 33, 0.88);
    border-radius: var(--radius-md);
    padding: 2.5rem 2.3rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 60px -35px rgba(236, 72, 153, 0.45);
}

.solution-card h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

.solution-card ul {
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
    color: var(--color-muted);
    display: grid;
    gap: 0.4rem;
}

/* Tech */
.tech {
    padding: 6rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    align-items: center;
}

.tech-content h2 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
}

.chip-row {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chip {
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.tech-showcase {
    display: grid;
    gap: 1.5rem;
}

.tech-card {
    background: rgba(13, 16, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 2.4rem 2.2rem;
    box-shadow: 0 25px 50px -30px rgba(236, 72, 153, 0.35);
}

/* Projects */
.projects {
    padding: 6rem 0;
}
.project-card {
    position: relative;
    min-height: 360px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--project-image) center/cover no-repeat;
    transition: transform 0.35s ease;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(4, 5, 9, 0.9));
}

.project-card:hover {
    transform: translateY(-8px);
}
.project-location {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--color-primary);
}

/* Process */
.process {
    padding: 6rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.process-step {
    background: rgba(17, 21, 33, 0.85);
    border-radius: var(--radius-md);
    padding: 2.2rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.process-number {
    position: absolute;
    top: -25px;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(139, 92, 246, 0.08);
}

.process-step h3 {
    margin: 0 0 1rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(13, 16, 24, 0.9);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-card .quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
}

.testimonial-card .cite {
    margin-top: 1.8rem;
    color: var(--color-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* CTA */
/* Footer */
.site-footer {
    padding: 4.5rem 0 2.5rem;
    background: rgba(4, 5, 9, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-brand p {
    color: var(--color-muted);
    max-width: 320px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

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

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
}

.footer-bottom {
    margin-top: 3rem;
    font-size: 0.75rem;
    color: var(--color-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1080px) {
    .hero-grid,
    .experience-grid,
    .tech-grid,
    .solutions-grid,
    .projects-grid,
    .process-grid,
    .testimonials-grid,
    .cta-grid,
    .footer-grid,
    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-screen {
        transform: none;
    }

    .site-navigation ul {
        gap: 1.4rem;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(92vw, 640px);
        padding: 0 clamp(1.25rem, 3vw, 2rem);
    }

    .site-navigation {
        position: fixed;
        inset: 0;
        background: rgba(4, 5, 9, 0.95);
        backdrop-filter: blur(16px);
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-navigation ul {
        flex-direction: column;
        gap: 1.6rem;
        text-align: center;
        font-size: 1rem;
        letter-spacing: 0.3em;
    }

    .site-navigation.is-open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .metrics-grid,
    .solutions-grid,
    .projects-grid,
    .process-grid,
    .testimonials-grid,
    .cta-grid,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 6rem;
    }
}

@media (max-width: 520px) {
    .header-inner {
        padding: 1.2rem 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-overlay-card {
        position: static;
        margin-top: 1rem;
    }

    .metrics {
        padding: 3.5rem 0;
    }

    .process-number {
        top: -18px;
        font-size: 4rem;
    }
}
/* FAQ */
.faq {
    padding: 6rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: rgba(17, 21, 33, 0.88);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 48px -32px rgba(139, 92, 246, 0.35);
}

.faq-item h3 {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.faq-item p {
    margin: 0;
    color: var(--color-muted);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

@media (max-width: 820px) {
    .brand-logo {
        height: 44px;
    }
}
@media (max-width: 820px) {
    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 7vw, 2.8rem);
    }

    .hero-copy .lead {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
        justify-content: center;
    }

    .hero-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        font-size: 0.68rem;
        letter-spacing: 0.18em;
    }

    .hero-visual {
        order: -1;
    }

    .hero-screen {
        transform: none;
        border-radius: var(--radius-md);
    }

    .hero-overlay-card {
        margin-top: 1rem;
        width: 100%;
    }
}

@media (max-width: 640px) {
    body.kinexis-modern-theme {
        font-size: 0.95rem;
    }

    .container {
        width: min(94vw, 520px);
        padding: 0 clamp(1rem, 3vw, 1.5rem);
    }

    .header-inner {
        padding: 1rem 1.25rem;
    }

    .brand-logo {
        height: 40px;
    }

    .hero {
        padding: 4.5rem 0 3.5rem;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .metrics {
        padding: 3rem 0;
    }

    .solution-card,
    .tech-card,
    .project-card,
    .process-step,
    .testimonial-card,
    .faq-item,
    .cta-form {
        padding: 1.8rem 1.6rem;
    }

    .tech-showcase {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        padding: 2.4rem;
    }

    .footer-grid {
        gap: 2.4rem;
    }
}

@media (max-width: 480px) {
    .hero-actions .button {
        padding: 0.8rem 1.4rem;
        font-size: 0.75rem;
    }

    .solution-card h3,
    .tech-card h3,
    .process-step h3,
    .faq-item h3 {
        font-size: 1.05rem;
    }

    .project-card {
        min-height: 280px;
    }

    .cta-grid {
        border-radius: var(--radius-md);
    }

    .cta-form input,
    .cta-form textarea {
        font-size: 0.9rem;
    }
}
@media (max-width: 820px) {
    .header-inner {
        gap: 1rem;
    }

    .brand {
        flex-direction: row;
    }

    .site-navigation {
        position: fixed;
        inset: 0;
        background: rgba(4, 5, 9, 0.96);
        backdrop-filter: blur(18px);
        padding: 6rem 2rem 2.5rem;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        z-index: 998;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .site-navigation.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-navigation ul {
        width: min(420px, 100%);
        align-items: center;
        gap: 1.8rem;
        text-align: center;
    }

    .site-navigation li {
        width: 100%;
    }

    .site-navigation a {
        display: inline-block;
        padding-bottom: 0.4rem;
        font-size: 0.95rem;
        letter-spacing: 0.32em;
    }
}

@media (max-width: 520px) {
    .site-navigation {
        padding-block-start: 5.5rem;
    }
}

body.nav-open {
    overflow: hidden;
}

@media (max-width: 820px) {
    .site-navigation {
        transform: translateY(-120%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        height: 100vh;
        overflow-y: auto;
        z-index: 998;
    }

    .site-navigation.is-open {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto;
    }
}
/* Header refinements */
.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.site-navigation .menu-wrapper > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.site-navigation .nav-close,
.site-navigation .nav-cta {
    display: none;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(4, 5, 9, 0.65);
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-toggle-line {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile navigation overlay */
@media (max-width: 820px) {
    .brand-logo {
        height: 44px;
    }

    .site-navigation {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2.5rem;
        padding: 5.5rem 2rem 2.5rem;
        background: radial-gradient(circle at top, rgba(139, 92, 246, 0.2), rgba(4,5,9,0.95));
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
        z-index: 998;
    }

    .site-navigation.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-navigation .menu-wrapper {
        width: 100%;
    }

    .site-navigation ul {
        flex-direction: column;
        gap: 1.8rem;
        width: 100%;
        align-items: center;
        font-size: 1.05rem;
        letter-spacing: 0.32em;
    }

    .site-navigation li {
        width: 100%;
        text-align: center;
    }

    .site-navigation a {
        padding-bottom: 0.4rem;
    }

    .site-navigation .nav-cta {
        display: flex;
        width: 100%;
        margin-top: auto;
    }

    .site-navigation .nav-cta .button {
        width: 100%;
        justify-content: center;
        padding: 0.95rem;
    }

    .site-navigation .nav-close {
        display: inline-flex;
        align-self: flex-end;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: transparent;
        justify-content: center;
        align-items: center;
        position: relative;
        margin-bottom: 1.5rem;
    }

    .site-navigation .nav-close span {
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--color-text);
        border-radius: 2px;
    }

    .site-navigation .nav-close span:first-child {
        transform: rotate(45deg);
    }

    .site-navigation .nav-close span:last-child {
        transform: rotate(-45deg);
    }

    .nav-toggle {
        display: inline-flex;
    }

    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 520px) {
    .brand-logo {
        height: 38px;
    }

    .site-navigation {
        padding-top: 5rem;
    }

    .site-navigation ul {
        font-size: 0.95rem;
        letter-spacing: 0.28em;
    }
}

/* Navigation layout refinements */
.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav .menu-wrapper > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.mobile-nav {
    display: none;
}

@media (max-width: 820px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(4, 5, 9, 0.92);
    }

    .mobile-nav-scroll {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        overflow-x: auto;
        padding: 0.85rem clamp(1rem, 4vw, 1.6rem);
        scroll-snap-type: x mandatory;
    }

    .mobile-nav-scroll ul {
        list-style: none;
        display: inline-flex;
        margin: 0;
        padding: 0;
        gap: 0.8rem;
    }

    .mobile-nav-scroll li {
        scroll-snap-align: center;
    }

    .mobile-nav-scroll a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 1.15rem;
        border-radius: 999px;
        font-size: 0.78rem;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: var(--color-text);
        background: rgba(17, 21, 33, 0.85);
        transition: border-color 0.25s ease, background 0.25s ease;
        white-space: nowrap;
    }

    .mobile-nav-scroll a:hover,
    .mobile-nav-scroll a:focus {
        border-color: rgba(139, 92, 246, 0.6);
        background: rgba(139, 92, 246, 0.12);
    }

    .mobile-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 1.45rem;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
        color: #010104;
        font-weight: 600;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        border: none;
        box-shadow: var(--shadow-soft);
        white-space: nowrap;
    }
}

@media (max-width: 520px) {
    .mobile-nav-scroll {
        gap: 0.6rem;
    }

    .mobile-nav-scroll a {
        font-size: 0.72rem;
        padding: 0.5rem 1rem;
    }

    .mobile-nav-cta {
        padding: 0.55rem 1.2rem;
        font-size: 0.72rem;
    }
}
/* Logo size reduced by 50% */
.brand-logo {
    height: 68px !important;
    width: auto;
    display: block;
}

@media (max-width: 820px) {
    .brand-logo {
        height: 47px !important;
    }
}

/* Desktop Navigation */
.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav .menu-wrapper > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

/* Mobile Menu Toggle Button */
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    transition: all 0.3s ease;
    margin-left: auto;
}

    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.05);
}

    width: 20px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

    transform: rotate(45deg) translate(6px, 6px);
}

    opacity: 0;
}

    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
}

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: rgba(4, 5, 9, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

    transform: translateX(0);
}

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    height: 24px;
    width: auto;
}

    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
}

    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
}

    transform: rotate(45deg);
}

    transform: rotate(-45deg);
}

    flex: 1;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    margin: 0;
}

    display: block;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    color: var(--color-primary);
    transform: translateX(4px);
}

    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

    width: 100%;
    justify-content: center;
    text-align: center;
}

/* Body scroll lock when menu is open */
    overflow: hidden;
}

/* Responsive */
@media (max-width: 820px) {
    .desktop-nav {
        display: none;
    }

        display: flex;
    }
}

@media (max-width: 480px) {
        width: 90%;
    }

        padding: 1.25rem 1.25rem 0.75rem;
    }

        padding: 1.5rem 1.25rem;
    }
}
.nav-toggle,
.nav-close,
.site-navigation.is-open,
.mobile-nav-scroll {
    display: none !important;
}

.mobile-nav {
    display: none !important;
}

/* Ensure old mobile nav doesn't interfere */
@media (max-width: 820px) {
    .mobile-nav {
        display: none !important;
    }
}
/* Logo size reduced by 50% */
.brand-logo {
    height: 68px !important;
    width: auto;
    display: block;
}

@media (max-width: 820px) {
    .brand-logo {
        height: 47px !important;
    }
}

/* Navigation layout refinements */
.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav .menu-wrapper > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.mobile-nav {
    display: none;
}

@media (max-width: 820px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(4, 5, 9, 0.92);
    }

    .mobile-nav-scroll {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        overflow-x: auto;
        padding: 0.85rem clamp(1rem, 4vw, 1.6rem);
        scroll-snap-type: x mandatory;
    }

    .mobile-nav-scroll ul {
        list-style: none;
        display: inline-flex;
        margin: 0;
        padding: 0;
        gap: 0.8rem;
    }

    .mobile-nav-scroll li {
        scroll-snap-align: center;
    }

    .mobile-nav-scroll a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 1.15rem;
        border-radius: 999px;
        font-size: 0.78rem;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: var(--color-text);
        background: rgba(17, 21, 33, 0.85);
        transition: border-color 0.25s ease, background 0.25s ease;
        white-space: nowrap;
    }

    .mobile-nav-scroll a:hover,
    .mobile-nav-scroll a:focus {
        border-color: rgba(139, 92, 246, 0.6);
        background: rgba(139, 92, 246, 0.12);
    }

    .mobile-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 1.45rem;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
        color: #010104;
        font-weight: 600;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        border: none;
        box-shadow: var(--shadow-soft);
        white-space: nowrap;
    }
}

@media (max-width: 520px) {
    .mobile-nav-scroll {
        gap: 0.6rem;
    }

    .mobile-nav-scroll a {
        font-size: 0.72rem;
        padding: 0.5rem 1rem;
    }

    .mobile-nav-cta {
        padding: 0.55rem 1.2rem;
        font-size: 0.72rem;
    }
}
/* Menu Dropdown Toggle Button */
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.05);
}

    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

    transform: rotate(180deg);
}

/* Menu Dropdown Panel */
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 240px;
    background: rgba(4, 5, 9, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    margin: 0;
}

    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}

    background: rgba(139, 92, 246, 0.1);
    color: var(--color-primary);
    transform: translateX(4px);
}

    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #010104;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

/* Show dropdown toggle on desktop when desktop nav is hidden */
@media (max-width: 1080px) {
    .desktop-nav {
        display: none;
    }

        display: flex;
    }

    .header-inner {
        position: relative;
    }
}

/* Hide dropdown on mobile, show mobile nav instead */
@media (max-width: 820px) {
        display: none !important;
    }
}
/* Menu Dropdown Toggle Button - Show on all screen sizes */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.05);
}

    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

    transform: rotate(180deg);
}

/* Menu Dropdown Panel */
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 240px;
    background: rgba(4, 5, 9, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    margin: 0;
}

    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}

    background: rgba(139, 92, 246, 0.1);
    color: var(--color-primary);
    transform: translateX(4px);
}

    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #010104;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

/* Hide desktop nav on smaller screens, show dropdown */
@media (max-width: 1080px) {
    .desktop-nav {
        display: none;
    }
}

/* Mobile adjustments */
@media (max-width: 820px) {
        min-width: calc(100vw - 2rem);
        right: 1rem;
        left: 1rem;
        width: auto;
    }

        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
        padding: 0.45rem 0.9rem;
        font-size: 0.75rem;
    }

        padding: 1.25rem;
    }
}
/* Hide the old horizontal scrollable mobile nav */
@media (max-width: 820px) {
    .mobile-nav {
        display: none !important;
    }
}
/* Menu Dropdown Toggle Button with Hamburger Icon */
.menu-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}

.menu-dropdown-toggle:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.05);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 16px;
    gap: 4px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transform hamburger to X when open */
.menu-dropdown-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-dropdown-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-dropdown-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu Dropdown Panel */
.menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 240px;
    background: rgba(4, 5, 9, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.menu-dropdown.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-list {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dropdown-menu-list li {
    margin: 0;
}

.dropdown-menu-list a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.dropdown-menu-list a:hover,
.dropdown-menu-list a:focus {
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-primary);
    transform: translateX(4px);
}

.dropdown-cta {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #010104;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

/* Hide desktop nav on smaller screens, show dropdown */
@media (max-width: 1080px) {
    .desktop-nav {
        display: none;
    }
}

/* Mobile adjustments */
@media (max-width: 820px) {
    .menu-dropdown {
        min-width: calc(100vw - 2rem);
        right: 1rem;
        left: 1rem;
        width: auto;
    }

    .menu-dropdown-toggle {
        width: 40px;
        height: 40px;
    }

    .hamburger-icon {
        width: 18px;
        height: 14px;
        gap: 3px;
    }
}

@media (max-width: 480px) {
    .menu-dropdown-toggle {
        width: 38px;
        height: 38px;
    }

    .menu-dropdown {
        padding: 1.25rem;
    }
}
/* ============================================
   SECTION POLISH IMPROVEMENTS
   ============================================ */

/* Hero Section Polish */

/* .hero::before - Only apply to home page hero, not services/portfolio */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

/* Disable .hero::before for all hero sections except home */
section.hero:not(#home)::before,
.hero:not(#home)::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hide the animated circle on about-hero, services-hero, and projects-hero - must be more specific than .hero::before */
section.about-hero.hero::before,
section.about-hero::before,
.about-hero.hero::before,
.about-hero::before,
section.services-hero.hero::before,
section.services-hero::before,
.services-hero.hero::before,
.services-hero::before,
section.projects-hero.hero::before,
section.projects-hero::before,
.projects-hero.hero::before,
.projects-hero::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy .eyebrow {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-copy .lead {
    animation: fadeInUp 0.8s ease forwards 0.2s;
    opacity: 0;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.7;
    color: rgba(230, 232, 239, 0.9);
}

.hero-actions {
    animation: fadeInUp 0.8s ease forwards 0.4s;
    opacity: 0;
    gap: 1rem;
}

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

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease forwards 0.6s;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Metrics Section Polish */
/* Experience Section Polish */
.experience {
    padding: 8rem 0;
    position: relative;
}

.experience-media {
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-media:hover {
    transform: scale(1.02);
}

.experience-media::after {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1), rgba(4,5,9,0.6));
}

.experience-content h2 {
    margin-bottom: 2rem;
    line-height: 1.2;
}

.experience-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(230, 232, 239, 0.85);
    margin-bottom: 1.5rem;
}

.experience-content p:last-of-type {
    margin-bottom: 2.5rem;
}

/* Solutions Section Polish */
.solutions {
    padding: 8rem 0;
    background: rgba(139, 92, 246, 0.02);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header .eyebrow {
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--color-muted);
    max-width: 700px;
    margin: 0 auto;
}

.solution-card {
    padding: 3rem 2.5rem;
    background: rgba(17, 21, 33, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(17, 21, 33, 0.7);
    box-shadow: 0 24px 48px rgba(139, 92, 246, 0.2);
}

.solution-card:hover::before {
    transform: scaleY(1);
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.solution-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(230, 232, 239, 0.8);
    margin-bottom: 1.5rem;
}

/* Technology Section Polish */
.tech {
    padding: 8rem 0;
    position: relative;
}

.tech-intro {
    margin-bottom: 4rem;
}

.tech-intro p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(230, 232, 239, 0.85);
}

.tech-card {
    padding: 2.5rem 2rem;
    background: rgba(17, 21, 33, 0.4);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-sm);
    transition: all 0.4s ease;
    position: relative;
}

.tech-card:nth-child(even) {
    border-left-color: var(--color-secondary);
}

.tech-card:hover {
    transform: translateX(8px);
    background: rgba(17, 21, 33, 0.6);
    border-left-width: 5px;
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

.tech-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.tech-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(230, 232, 239, 0.8);
}

/* Projects Section Polish */
.projects {
    padding: 8rem 0;
    background: rgba(236, 72, 153, 0.02);
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(17, 21, 33, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(236, 72, 153, 0.4);
    box-shadow: 0 24px 48px rgba(236, 72, 153, 0.25);
}

.project-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
    transform: scale(1.1);
}

/* Process Section Polish */
.process {
    padding: 8rem 0;
    position: relative;
}

.process-step {
    padding: 2.5rem 2rem;
    background: rgba(17, 21, 33, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(17, 21, 33, 0.6);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.process-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #010104;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.process-step h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(230, 232, 239, 0.8);
}

/* Testimonials Section Polish */
.testimonials {
    padding: 8rem 0;
    background: rgba(139, 92, 246, 0.02);
}

.testimonial-card {
    padding: 3rem 2.5rem;
    background: rgba(17, 21, 33, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(17, 21, 33, 0.7);
    box-shadow: 0 24px 48px rgba(139, 92, 246, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: rgba(230, 232, 239, 0.9);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* FAQ Section Polish */
.faq {
    padding: 8rem 0;
    position: relative;
}

.faq-item {
    background: rgba(17, 21, 33, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.2);
    background: rgba(17, 21, 33, 0.6);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(230, 232, 239, 0.8);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
}

/* CTA Section Polish */
/* Responsive Polish */
@media (max-width: 820px) {
    .hero {
        padding: 6rem 0 4rem;
    }

    .metrics,
    .experience,
    .solutions,
    .tech,
    .projects,
    .process,
    .testimonials,
    .faq,
    .cta {
        padding: 5rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .solution-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0 3rem;
    }

    .metrics,
    .experience,
    .solutions,
    .tech,
    .projects,
    .process,
    .testimonials,
    .faq,
    .cta {
        padding: 4rem 0;
    }

    .metric-card,
    .solution-card,
    .tech-card,
    .process-step,
    .testimonial-card {
        padding: 1.5rem 1.25rem;
    }
}
/* ===== PRETTIFY HERO SECTION ===== */

.hero-grid {
    position: relative;
    z-index: 2;
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero-copy .eyebrow {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.hero-copy h1 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}

.hero-copy .lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-actions .button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-actions .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-actions .button:hover::before {
    left: 100%;
}

.hero-actions .button-primary {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.hero-actions .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.hero-actions .button-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-badges span {
    padding: 0.625rem 1.25rem;
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-badges span:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.hero-visual {
    position: relative;
}

.hero-screen {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.hero-screen:hover {
    transform: scale(1.02);
}

.hero-screen video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-card {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    max-width: 320px;
    background: rgba(17, 21, 33, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: slideInUp 0.6s ease-out;
}

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

.hero-overlay-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-overlay-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-overlay-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.hero-overlay-card li {
    padding: 0.875rem 1rem;
    padding-left: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: all 0.3s ease;
}

.hero-overlay-card li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--color-primary);
    font-weight: bold;
    font-size: 0.875rem;
}

.hero-overlay-card li:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(4px);
}

/* ===== PRETTIFY ECOSYSTEM SECTION ===== */
.ecosystem {
    position: relative;
    overflow: hidden;
}

.ecosystem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.1), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.1), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.ecosystem .container {
    position: relative;
    z-index: 1;
}

.ecosystem-diagram {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 4rem;
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.ecosystem-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.ecosystem-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ecosystem-feature:hover::before {
    transform: scaleX(1);
}

.ecosystem-feature:hover {
    background: rgba(17, 21, 33, 0.8);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.3);
}

.ecosystem-feature svg {
    width: 56px;
    height: 56px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.ecosystem-feature:hover svg {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.ecosystem-feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.3;
}

.ecosystem-feature p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Section Header Styling */
.ecosystem .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ecosystem .section-header .eyebrow {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.ecosystem .section-header h2 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}
/* ===== PRETTIFY HERO SECTION - CORRECTED FOR CURRENT STRUCTURE ===== */

/* Hero overlay disabled - no darkening/brightening */
.hero-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-actions .button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-actions .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-actions .button:hover::before {
    left: 100%;
}

.hero-actions .button-primary {
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.hero-actions .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.hero-actions .button-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-badges span {
    padding: 0.625rem 1.25rem;
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-badges span:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== PRETTIFY ECOSYSTEM SECTION ===== */
.ecosystem {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.ecosystem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.1), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.1), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.ecosystem .container {
    position: relative;
    z-index: 1;
}

.ecosystem .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ecosystem .section-header .eyebrow {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.ecosystem .section-header h2 {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.3));
}

.ecosystem-diagram {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 4rem;
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.ecosystem-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.ecosystem-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ecosystem-feature:hover::before {
    transform: scaleX(1);
}

.ecosystem-feature:hover {
    background: rgba(17, 21, 33, 0.8);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.3);
}

.ecosystem-feature svg {
    width: 56px;
    height: 56px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.ecosystem-feature:hover svg {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.ecosystem-feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.3;
}

.ecosystem-feature p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}
/* ===== PRETTIFY ECOSYSTEM DIAGRAM ===== */
.ecosystem-diagram {
    position: relative;
    padding: 3rem;
    min-height: 500px;
    background: rgba(17, 21, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.ecosystem-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.ecosystem-core {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 20px 60px rgba(139, 92, 246, 0.5), 0 0 40px rgba(236, 72, 153, 0.3);
    }
}

.ecosystem-core svg {
    width: 60px;
    height: 60px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.ecosystem-core h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.ecosystem-core p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.ecosystem-nodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.ecosystem-node {
    padding: 2rem 1.5rem;
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ecosystem-node:hover::before {
    transform: scaleX(1);
}

.ecosystem-node:hover {
    background: rgba(17, 21, 33, 0.8);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.3);
}

.node-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    padding: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.ecosystem-node:hover .node-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.node-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.ecosystem-node h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.ecosystem-node > p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1rem 0;
}

.ecosystem-node ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.ecosystem-node li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.ecosystem-node li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}
/* ===== COMPLETE ECOSYSTEM SECTION REDESIGN ===== */
.ecosystem {
    position: relative;
    padding: 6rem 0;
    background: rgba(13, 16, 24, 0.3);
}

.ecosystem .container {
    position: relative;
    z-index: 1;
}

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

.ecosystem .section-header .eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.ecosystem .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
}

.ecosystem .section-header .section-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Hide the old diagram - we'll use a cleaner layout */
.ecosystem-diagram {
    display: none;
}

/* Clean Feature Cards Grid */
.ecosystem-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.ecosystem-feature {
    background: rgba(17, 21, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 21, 33, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.ecosystem-feature:hover::after {
    opacity: 1;
}

.ecosystem-feature:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.25);
}

.ecosystem-feature svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    padding: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.ecosystem-feature:hover svg {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.25));
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.05);
}

.ecosystem-feature > div {
    position: relative;
    z-index: 1;
}

.ecosystem-feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.ecosystem-feature p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .ecosystem-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .ecosystem {
        padding: 4rem 0;
    }
    
    .ecosystem-features {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .ecosystem-feature {
        padding: 2rem 1.5rem;
    }
}
/* ============================================
   WOW DESIGN - ENHANCE ALL SECTIONS
   Premium, modern, polished styling
   ============================================ */

/* ===== METRICS SECTION ===== */
/* ===== EXPERIENCE/ABOUT SECTION ===== */
.experience {
    padding: 6rem 0;
    position: relative;
}

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

.experience-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.experience-media:hover {
    transform: scale(1.02);
}

.experience-content .eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.experience-content h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.experience-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
    padding: 6rem 0;
    background: rgba(13, 16, 24, 0.3);
    position: relative;
}

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

.solutions .section-header .eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.solutions .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.solution-card {
    background: rgba(17, 21, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    background: rgba(17, 21, 33, 0.95);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.solution-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-card li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    transition: all 0.3s ease;
}

.solution-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 0.875rem;
}

.solution-card li:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
}

/* ===== TECHNOLOGY SECTION ===== */
.tech {
    padding: 6rem 0;
    position: relative;
}

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

.tech-content .eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.tech-content h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    padding: 6rem 0;
    background: rgba(13, 16, 24, 0.3);
}

.projects .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* ===== PROCESS SECTION ===== */
.process {
    padding: 6rem 0;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
}

.process-step:hover {
    background: rgba(17, 21, 33, 0.8);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.25);
}

.process-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 0;
    background: rgba(13, 16, 24, 0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(17, 21, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.25);
}

.testimonial-card .stars {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.testimonial-card .quote {
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.testimonial-card .cite {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== CTA SECTION ===== */

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SECTION HEADERS - GENERAL ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.button-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.button-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
/* ===== KNX TECHNOLOGY SECTION ===== */
.knx-technology {
    padding: 6rem 0;
    background: rgba(13, 16, 24, 0.3);
    position: relative;
}

.knx-technology .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.knx-brands-grid,
.knx-devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.knx-brand-item,
.knx-device-item {
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.knx-brand-item:hover,
.knx-device-item:hover {
    background: rgba(17, 21, 33, 0.8);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.25);
}

.knx-brand-item img,
.knx-device-item img {
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.knx-brand-item:hover img,
.knx-device-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}
/* ===== FIX KNX TECHNOLOGY SECTION ===== */
.brands-grid,
.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.brand-item,
.device-item {
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.brand-item:hover,
.device-item:hover {
    background: rgba(17, 21, 33, 0.8);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.25);
}

.brand-item img,
.device-item img {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover img,
.device-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}
/* ===== FIX OUR WORK / PROJECTS SECTION ===== */
.projects {
    padding: 6rem 0;
    background: rgba(13, 16, 24, 0.3);
    position: relative;
}

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

.projects .section-header .eyebrow {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.projects .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
}

.projects .section-header .section-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Featured Project */
.project-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    width: fit-content;
}

.project-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

/* Projects Grid */
/* Mobile Responsive */
@media (max-width: 1080px) {
    .project-featured {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        min-height: 300px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-content {
        padding: 2rem;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
    }
}
/* ===== FIX PROJECTS SECTION - MATCH ACTUAL STRUCTURE ===== */

/* Featured Project */
.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.project-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
    width: fit-content;
}

.project-location {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.project-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

/* Projects Grid */

.project-location-small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}
/* Mobile Responsive */
@media (max-width: 1080px) {
    .project-featured {
        grid-template-columns: 1fr;
    }
    
    .project-image img {
        min-height: 300px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-content {
        padding: 2rem;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
    }
}
/* ===== REDESIGNED FOOTER - PREMIUM & POLISHED ===== */
.site-footer {
    background: linear-gradient(180deg, rgba(13, 16, 24, 0.95) 0%, rgba(4, 5, 9, 1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* Footer Brand Column */
.footer-brand {
    max-width: 350px;
}

.footer-brand .brand {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-brand .brand:hover {
    transform: scale(1.05);
}

.footer-brand .brand-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-color: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

/* Footer Links Columns */
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-menu-list,
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li,
.contact-list li {
    margin-bottom: 0.75rem;
}

.footer-menu-list a,
.contact-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-menu-list a:hover,
.contact-list a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-list svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-list span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Mobile Responsive */
@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
}
/* ===== FIX FOOTER - MATCH ACTUAL STRUCTURE ===== */
.site-footer {
    background: linear-gradient(180deg, rgba(13, 16, 24, 0.95) 0%, rgba(4, 5, 9, 1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5), transparent);
}

.footer-main {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 0;
}

/* Footer Brand */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-color: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer Headings */
.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-menu a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* Footer Contact */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-list svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-list a,
.footer-contact-list span {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--color-primary);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.copyright strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-primary);
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}
/* ============================================
   PREMIUM FOOTER REDESIGN - FROM SCRATCH
   Modern, elegant, sophisticated design
   ============================================ */

/* Remove all existing footer styles */
.site-footer,
.footer-main,
.footer-grid,
.footer-brand,
.footer-links,
.footer-services,
.footer-contact,
.footer-bottom {
    all: unset;
    display: block;
}

/* ===== NEW PREMIUM FOOTER ===== */
.site-footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* Gradient accent line at top */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(139, 92, 246, 0.6) 20%,
        rgba(236, 72, 153, 0.6) 50%,
        rgba(139, 92, 246, 0.6) 80%,
        transparent 100%
    );
    z-index: 1;
}

/* Main footer content */
.footer-main {
    padding: 6rem 0 4rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr 1.2fr 1.8fr;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== BRAND COLUMN ===== */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2.5rem;
    max-width: 380px;
}

/* Social Links - Premium Design */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 14px;
}

.social-link:hover {
    border-color: rgba(139, 92, 246, 0.5);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.25);
}

.social-link svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* ===== NAVIGATION COLUMNS ===== */
.footer-links,
.footer-services,
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--color-primary);
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.footer-menu a:hover {
    color: #ffffff;
    padding-left: 20px;
}

.footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ===== CONTACT COLUMN ===== */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0;
}

.footer-contact-list svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.8;
}

.footer-contact-list a,
.footer-contact-list span {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--color-primary);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-weight: 400;
}

.copyright strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal a:hover::after {
    width: 100%;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 4rem;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
        margin-top: 2rem;
    }
}

@media (max-width: 820px) {
    .footer-main {
        padding: 4rem 0 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-description {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links,
    .footer-services,
    .footer-contact {
        text-align: center;
        align-items: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-menu {
        align-items: center;
    }
    
    .footer-contact-list {
        align-items: center;
    }
    
    .footer-contact-list li {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-grid {
        gap: 2.5rem;
    }
}
/* ============================================
   POLISH ALL SECTIONS - PREMIUM DESIGN SYSTEM
   Consistent, elegant styling across all pages
   ============================================ */

/* ===== GLOBAL SECTION POLISH ===== */
section {
    position: relative;
    overflow: hidden;
}

/* Section backgrounds with subtle gradients */
.metrics,
.solutions,
.ecosystem,
.projects,
.testimonials {
    background: rgba(13, 16, 24, 0.4);
    position: relative;
}
.metrics > *,
.solutions > *,
.ecosystem > *,
.projects > *,
.testimonials > * {
    position: relative;
    z-index: 1;
}

/* ===== ENHANCED SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.section-header .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
    transition: all 0.3s ease;
}

.section-header .eyebrow:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.25);
}

.section-header h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.2));
}

.section-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== POLISHED METRICS SECTION ===== */

/* ===== POLISHED EXPERIENCE SECTION ===== */
.experience {
    padding: 7rem 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.experience-media {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-media:hover {
    transform: scale(1.02);
}

.experience-content .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
}

.experience-content h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.experience-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.experience-content strong {
    color: #ffffff;
    font-weight: 600;
}

.button-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.button-link:hover {
    color: var(--color-secondary);
    gap: 0.75rem;
}

/* ===== POLISHED SOLUTIONS SECTION ===== */
.solutions {
    padding: 7rem 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.solution-card {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    background: rgba(17, 21, 33, 0.9);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}

.solution-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.solution-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-card li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    font-size: 0.975rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.solution-card li:last-child {
    border-bottom: none;
}

.solution-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.solution-card li:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(6px);
}

.solution-card li:hover::before {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.1);
}

.solutions-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ===== POLISHED ECOSYSTEM SECTION ===== */
.ecosystem {
    padding: 7rem 0;
}

.ecosystem-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.ecosystem-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.ecosystem-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ecosystem-feature:hover::before {
    transform: scaleX(1);
}

.ecosystem-feature:hover {
    background: rgba(17, 21, 33, 0.9);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}

.ecosystem-feature svg {
    width: 64px;
    height: 64px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border: 1.5px solid rgba(139, 92, 246, 0.3);
    border-radius: 18px;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ecosystem-feature:hover svg {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.25));
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.3);
}

.ecosystem-feature > div {
    flex: 1;
}

.ecosystem-feature h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.ecosystem-feature p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===== POLISHED TECHNOLOGY SECTION ===== */
.tech {
    padding: 7rem 0;
}

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

.tech-content .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
}

.tech-content h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* ===== POLISHED PROJECTS SECTION ===== */
.projects {
    padding: 7rem 0;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.project-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-badge {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
    width: fit-content;
}

.project-location {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.75rem;
}

.project-content h3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.project-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}
.project-location-small {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}
/* ===== POLISHED PROCESS SECTION ===== */
.process {
    padding: 7rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.process-step {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover::before {
    transform: scaleX(1);
}

.process-step:hover {
    background: rgba(17, 21, 33, 0.9);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}

.process-number {
    width: 72px;
    height: 72px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
    transition: all 0.4s ease;
}

.process-step:hover .process-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.5);
}

.process-step h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== POLISHED TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 7rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    background: rgba(17, 21, 33, 0.9);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}

.testimonial-card .stars {
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 1.5rem;
    letter-spacing: 0.25rem;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    line-height: 1.85;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.testimonial-card .cite {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== POLISHED CTA SECTION ===== */

.cta h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}
/* ===== BUTTON POLISH ===== */
.button-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: #ffffff;
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.button-primary:hover::before {
    left: 100%;
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.button-ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
/* ============================================
   POLISH OTHER PAGES - MATCH FRONT PAGE DESIGN
   Consistent styling across all pages
   ============================================ */

/* ===== PAGE HERO SECTIONS ===== */
.page-hero {
    padding: 8rem 0 6rem;
    background: rgba(17, 21, 33, 0.6);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05), transparent 70%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-hero .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 5rem 0;
}

.content-section:nth-child(even) {
    background: rgba(13, 16, 24, 0.3);
}

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

.content-card {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.content-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

/* ===== INFO CARDS ===== */
.info-card {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.info-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.2);
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== FAQ SECTION ===== */
.faq-item {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(17, 21, 33, 0.85);
}

.faq-item.is-open {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(17, 21, 33, 0.9);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.is-open h3::after {
    transform: rotate(45deg);
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem;
    backdrop-filter: blur(20px);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

/* ===== BLOG POSTS ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.blog-card {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
}

.blog-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}

.blog-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 2.5rem;
}

.blog-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.blog-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
}

/* ===== STATS SECTION ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem;
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.stat-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.2);
}

/* ===== MOBILE RESPONSIVE FOR ALL PAGES ===== */
@media (max-width: 1080px) {
    .content-grid,
    .tech-grid,
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 6rem 0 4rem;
    }
    
    .content-section {
        padding: 4rem 0;
    }
    
    .stats-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   PAGE-SPECIFIC POLISH - MATCH FRONT PAGE
   ============================================ */

/* ===== ABOUT PAGE ===== */
.about-intro-grid,
.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-intro-content h2,
.mission-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.about-intro-content p,
.mission-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.8);
}

.about-image-placeholder {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* ===== SERVICES PAGE ===== */
/* Services page now uses the same styling as home page - all CSS removed, using base .hero and .solutions classes */

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.contact-info-card {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.contact-info-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}

.contact-info-card svg {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

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

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1080px) {
    .about-intro-grid,
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
}
/* ============================================
   FINAL HERO SECTION POLISH
   ============================================ */
.hero-screen {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 24px 48px rgba(139, 92, 246, 0.2);
}

.hero-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none !important; /* No darkening/brightening filters */
}

/* Hero overlay disabled - no darkening/brightening */
.hero-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-badges span {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.hero-badges span:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-metrics .metric-card {
    padding: 2rem 1.5rem;
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    text-align: center;
}

.hero-metrics .metric-value {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-metrics .metric-label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.hero-metrics .metric-desc {
    font-size: 0.8rem;
}

/* Mobile Hero */
@media (max-width: 1080px) {
    .hero-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-card ul {
        grid-template-columns: 1fr;
    }
    
    .hero-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        margin-top: 70px;
    }
    
    .hero-screen {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text .lead {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .button-primary,
    .hero-actions .button-ghost {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================
   FIX BEGIN YOUR PROJECT CTA CARD
   Premium, polished design
   ============================================ */
.cta .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta .eyebrow:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .cta {
        padding: 5rem 0;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 0 1.5rem;
    }
    
    .cta-form {
        padding: 3rem 2.5rem;
    }
    
    .cta-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cta {
        padding: 4rem 0;
    }
    
    .cta-grid {
        gap: 2.5rem;
        padding: 0 1rem;
    }
    
    .cta-form {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-grid h2 {
        font-size: 2rem;
    }
    
    .cta-grid > div:first-child p {
        font-size: 1.05rem;
    }
}
/* ============================================
   BEGIN YOUR PROJECT CTA CARD - PREMIUM DESIGN
   ============================================ */
.cta .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta .eyebrow:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .cta {
        padding: 5rem 0;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 0 1.5rem;
    }
    
    .cta-form {
        padding: 3rem 2.5rem;
    }
    
    .cta-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cta {
        padding: 4rem 0;
    }
    
    .cta-grid {
        gap: 2.5rem;
        padding: 0 1rem;
    }
    
    .cta-form {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-grid h2 {
        font-size: 2rem;
    }
    
    .cta-grid > div:first-child p {
        font-size: 1.05rem;
    }
}
/* ============================================
   REDESIGN BEGIN YOUR PROJECT CTA CARD
   Modern, elegant, premium design
   ============================================ */

.cta {
    background: transparent !important;
    padding: 8rem 0;
    position: relative;
    background: transparent;
}

.cta-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Main CTA Card Container */
.cta-grid {
    display: block;
}
.cta-content-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Left Content Side */
.cta-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    width: fit-content;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta .eyebrow::before {
    content: '✨';
    font-size: 1rem;
}

.cta .eyebrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 520px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.cta-feature::before {
    content: '✓';
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.2);
    border: 1.5px solid rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Right Form Side */
.cta-form {
    background: rgba(17, 21, 33, 0.9);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    position: relative;
}

.cta-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 24px 24px 0 0;
}

.cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.cta-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.625rem;
    letter-spacing: 0.02em;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
}

.cta-form textarea {
    resize: vertical;
    min-height: 130px;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.cta-form .button-primary {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1.375rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.cta-form .button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.cta-form .button-primary:hover::before {
    left: 100%;
}

.cta-form .button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.cta-form .button-primary:active {
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .cta {
        padding: 6rem 0;
    }
    
    .cta-card-wrapper {
        padding: 4rem 3rem;
    }
    
    .cta-content-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .cta-content {
        text-align: center;
        align-items: center;
    }
    
    .cta-content p {
        max-width: 100%;
    }
    
    .cta-form {
        padding: 3rem 2.5rem;
    }
    
    .cta-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cta {
        padding: 5rem 0;
    }
    
    .cta-card-wrapper {
        padding: 3rem 2rem;
        border-radius: 24px;
    }
    
    .cta-content-wrapper {
        gap: 3rem;
    }
    
    .cta-content h2 {
        font-size: 2.25rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-form {
        padding: 2.5rem 2rem;
    }
}
/* Fix CTA card background - remove purple block */
.cta {
    background: transparent !important;
    padding: 8rem 0;
    position: relative;
    background: transparent;
}

.cta-card-wrapper {
    background: rgba(17, 21, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.cta-card-wrapper {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 32px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}

.cta-card-wrapper::after {
    display: none !important;
}
.cta-card-wrapper {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1)) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

.cta-card-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    display: block !important;
}
/* ============================================
   POLISH ABOUT PAGE - PREMIUM DESIGN
   Match front page styling
   ============================================ */

/* ===== ABOUT HERO ===== */

.about-hero .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}
/* ===== ABOUT INTRO ===== */
.about-intro {
    padding: 7rem 0;
    background: rgba(13, 16, 24, 0.3);
}

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

.about-intro-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-intro-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.about-intro-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.about-intro-image:hover {
    transform: scale(1.02);
}

.about-image-placeholder {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}

/* ===== ABOUT MISSION ===== */
.about-mission {
    padding: 7rem 0;
    position: relative;
}

.about-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.05), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.05), transparent 60%);
    pointer-events: none;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mission-content .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
}

.mission-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.8);
}

.mission-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
/* ===== ABOUT TECHNOLOGY ===== */
.about-technology {
    padding: 7rem 0;
    background: rgba(13, 16, 24, 0.3);
    position: relative;
}

.about-technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.05), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.05), transparent 60%);
    pointer-events: none;
}

.about-technology > .container {
    position: relative;
    z-index: 1;
}

.tech-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.tech-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.tech-feature-card {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tech-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tech-feature-card:hover::before {
    transform: scaleX(1);
}

.tech-feature-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}

.tech-feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.tech-feature-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== ABOUT PRINCIPLES ===== */
.about-principles {
    padding: 7rem 0;
    position: relative;
}

.about-principles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.05), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.05), transparent 60%);
    pointer-events: none;
}

.about-principles > .container {
    position: relative;
    z-index: 1;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.principle-card {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.principle-card:hover::before {
    transform: scaleX(1);
}

.principle-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}

.principle-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.principle-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.principle-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== ABOUT ADVANTAGES ===== */
.about-advantages {
    padding: 7rem 0;
    background: rgba(13, 16, 24, 0.3);
    position: relative;
}

.about-advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.05), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.05), transparent 60%);
    pointer-events: none;
}

.about-advantages > .container {
    position: relative;
    z-index: 1;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
}

.advantage-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 3rem;
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(8px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.4;
}

.advantage-content h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.advantage-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== ABOUT CTA ===== */
.about-cta {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 28px;
}

.about-cta > .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-cta p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1080px) {
    .about-intro-grid,
    .about-mission-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tech-features-grid,
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-item {
        grid-template-columns: 80px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: 6rem 0 4rem;
    }
    
    .about-intro,
    .about-mission,
    .about-technology,
    .about-principles,
    .about-advantages,
    .about-cta {
        padding: 5rem 0;
    }
    
    .tech-features-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .advantage-number {
        font-size: 2.5rem;
        text-align: center;
    }
}
/* About Page Images Styling */
.about-intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.about-intro-image:hover img {
    transform: scale(1.02);
}

.mission-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.mission-image:hover img {
    transform: scale(1.02);
}
.about-technology {
    position: relative;
}

.about-technology::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 16, 24, 0.7);
    z-index: 0;
}

.about-technology > .container {
    position: relative;
    z-index: 2;
}
/* About Page Background Images Overlay */

.about-technology::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 16, 24, 0.7);
    z-index: 0;
}

.about-principles::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 16, 24, 0.6);
    z-index: 0;
}

.about-advantages::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 16, 24, 0.7);
    z-index: 0;
}

.about-principles > .container,
.about-advantages > .container {
    position: relative;
    z-index: 2;
}
/* ============================================
   FIX HERO SECTION - ENSURE IT'S VISIBLE
   ============================================ */

.hero {
    position: relative;
    padding: 0;
    margin-top: 80px;
    overflow: hidden;
    min-height: 85vh;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: transparent;
    /* Removed filter: none !important to allow inline styles to work */
}

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

/* Services and portfolio heroes - use exact same CSS as home hero, no special rules */

/* Disable any ::after pseudo-elements on services and portfolio heroes */
.services-hero::after,
.projects-hero::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: none !important;
}

/* Hero overlay disabled - no darkening/brightening */
.hero-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 4rem 2rem 3rem 2rem;
    overflow: visible;
    box-sizing: border-box;
}

.hero-main {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
    overflow: visible;
    padding-top: 1rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    overflow: visible;
    padding-bottom: 0.5rem;
}

.hero-text .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    width: fit-content;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.hero-text .lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-card {
    background: rgba(17, 21, 33, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    height: fit-content;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.hero-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-card li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    transition: all 0.3s ease;
}

.hero-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 0.75rem;
}

.hero-card li:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.hero-badges span {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.hero-badges span:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Mobile Hero */
@media (max-width: 1080px) {
    .hero {
        margin-top: 70px;
        min-height: 70vh;
    }
    
    .hero-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-card ul {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        height: calc(100vh - 70px);
        min-height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero {
        margin-top: 70px;
        min-height: 60vh;
    }
    
    .hero-content {
        height: calc(100vh - 70px);
        min-height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
        padding: 2rem 1rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text .lead {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .button-primary,
    .hero-actions .button-ghost {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================
   MATCH ABOUT HERO TO FRONT PAGE HERO
   ============================================ */

.about-hero {
    position: relative;
    padding: 0;
    margin-top: 80px;
    overflow: hidden;
    min-height: 85vh;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-hero > .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 85vh;
    padding: 4rem 2rem;
}

.about-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.about-hero .eyebrow {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.about-hero .eyebrow:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.about-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .about-hero {
        margin-top: 70px;
        min-height: 70vh;
    }
    
    .about-hero > .container {
        min-height: 70vh;
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .about-hero {
        margin-top: 70px;
        min-height: 60vh;
    }
    
    .about-hero > .container {
        min-height: 60vh;
        padding: 2rem 1rem;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-lead {
        font-size: 1.1rem;
    }
}
/* ============================================
   REDESIGN MISSION TAGLINE CARD
   Premium, elegant design
   ============================================ */

.mission-tagline {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 28px;
    padding: 4rem 3.5rem;
    backdrop-filter: blur(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mission-tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.mission-tagline::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

.mission-tagline:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(139, 92, 246, 0.3);
}

.mission-tagline h3 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 2rem 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.mission-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 0 0 2rem 0;
    border-radius: 2px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.mission-tagline p {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .mission-tagline {
        padding: 3.5rem 3rem;
    }
    
    .mission-tagline h3 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
}

@media (max-width: 640px) {
    .mission-tagline {
        padding: 3rem 2.5rem;
        border-radius: 24px;
    }
    
    .mission-tagline h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .mission-divider {
        width: 60px;
        margin-bottom: 1.5rem;
    }
    
    .mission-tagline p {
        font-size: 0.8rem;
    }
}
/* ============================================
   POLISH PROJECTS PAGE - PREMIUM DESIGN
   Match front page and about page styling
   ============================================ */

/* ===== PROJECTS HERO ===== */
/* All hero sections now use the same .hero CSS - removed specific projects-hero rules */

.projects-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.projects-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== PROJECTS INTRO ===== */
.projects-intro {
    padding: 7rem 0;
    background: rgba(13, 16, 24, 0.3);
    position: relative;
}

.projects-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.05), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.05), transparent 60%);
    pointer-events: none;
}

.projects-intro > .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.projects-intro h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.projects-intro p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== PROJECT CARDS GRID ===== */

.project-card {
    background: rgba(17, 21, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2);
}
.project-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-image {
    transform: scale(1.1);
}
.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.project-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
    width: fit-content;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===== PROJECTS CTA ===== */
.projects-cta {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.projects-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 28px;
}

.projects-cta > .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.projects-cta h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.projects-cta p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1080px) {
    .hero {
        margin-top: 70px;
        min-height: 70vh;
    }
    
    .hero > .container {
        min-height: 70vh;
        padding: 3rem 1.5rem;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .hero {
        margin-top: 70px;
        min-height: 60vh;
    }
    
    .hero > .container {
        min-height: 60vh;
        padding: 2rem 1rem;
    }
    
    .projects-title {
        font-size: 2.5rem;
    }
    
    .projects-lead {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stat-number {
        font-size: 2.5rem;
    }
    
    .projects-intro,
    .projects-cta {
        padding: 5rem 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
}
/* ============================================
   POLISH PROJECT CARD DETAILS
   ============================================ */

.project-card {
    position: relative;
}

.project-card:hover .project-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.95) 100%);
}

.project-overlay .project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 500;
}

.project-overlay .project-location svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.project-overlay h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.project-overlay .project-description {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.project-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.detail-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.detail-value {
    color: #ffffff;
    font-weight: 600;
}

.project-overlay .project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-overlay .feature-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.project-overlay .feature-tag:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Featured project card */

/* Mobile adjustments */
@media (max-width: 640px) {
    .project-overlay {
        padding: 2rem 1.5rem;
    }
    
    .project-overlay h3 {
        font-size: 1.5rem;
    }
    
    .project-details {
        padding: 1.25rem;
    }
    
    .project-card.featured .project-overlay {
        padding: 2.5rem 2rem;
    }
    
    .project-card.featured .project-overlay h3 {
        font-size: 1.75rem;
    }
}
/* ============================================
   FIX FEATURED PROJECT HOVER - TEXT VISIBILITY
   ============================================ */

.project-card {
    overflow: visible !important;
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.85) 70%, rgba(0, 0, 0, 0.95) 100%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
}

.project-card:hover .project-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.9) 60%, rgba(0, 0, 0, 0.98) 100%);
    padding-bottom: 2.5rem;
}

/* Featured project specific */
/* Ensure text is fully visible */
.project-overlay .project-description {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    max-height: none;
    overflow: visible;
    word-wrap: break-word;
    display: block;
}
.project-overlay h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow: visible;
}
.project-overlay .project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 500;
    overflow: visible;
}

.project-overlay .project-location svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    overflow: visible;
}
.project-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    overflow: visible;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.detail-value {
    color: #ffffff;
    font-weight: 600;
}

.project-overlay .project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    overflow: visible;
    margin-top: 0;
}

.project-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(236, 72, 153, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

/* Ensure content doesn't get cut off */
/* Mobile adjustments */
@media (max-width: 1080px) {
    .project-card.featured .project-overlay {
        padding: 3rem 2.5rem;
    }
    
    .project-card.featured:hover .project-overlay {
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 640px) {
    .project-overlay {
        padding: 2rem 1.5rem;
    }
    
    .project-card.featured .project-overlay {
        padding: 2.5rem 2rem;
    }
    
    .project-card.featured:hover .project-overlay {
        padding: 2.5rem 2rem;
    }
    
    .project-overlay h3 {
        font-size: 1.5rem;
    }
    
    .project-card.featured .project-overlay h3 {
        font-size: 1.75rem;
    }
    
    .project-overlay .project-description {
        font-size: 0.95rem;
    }
    
    .project-card.featured .project-overlay .project-description {
        font-size: 1rem;
    }
    
    .project-details {
        padding: 1.25rem;
    }
    
    .project-badge {
        top: 1.5rem;
        right: 1.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
}
/* ============================================
   REDESIGN FEATURED PROJECT & CTA SECTIONS
   ============================================ */

/* ===== REDESIGNED FEATURED PROJECT ===== */

/* Featured Project Image Side */
/* Featured Project Content Side */
/* Remove old overlay for featured */

/* ===== REDESIGNED CTA SECTION ===== */
.projects-cta {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.projects-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border-radius: 32px;
    z-index: 0;
}

.projects-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.projects-cta > .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.projects-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-cta p {
    font-size: 1.25rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-actions .button-primary {
    padding: 1.25rem 3rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-actions .button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.cta-actions .button-primary:hover::before {
    left: 100%;
}

.cta-actions .button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

.cta-actions .button-ghost {
    padding: 1.25rem 3rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-actions .button-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .project-card.featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .project-card.featured .featured-image {
        min-height: 400px;
    }
    
    .project-card.featured .featured-content {
        padding: 3rem 2.5rem;
    }
    
    .project-card.featured .project-details {
        grid-template-columns: 1fr;
    }
    
    .projects-cta {
        padding: 6rem 0;
    }
}

@media (max-width: 640px) {
    .project-card.featured {
        grid-column: span 1;
    }
    
    .project-card.featured .featured-image {
        min-height: 350px;
    }
    
    .project-card.featured .featured-content {
        padding: 2.5rem 2rem;
    }
    
    .projects-cta {
        padding: 5rem 0;
    }
    
    .projects-cta h2 {
        font-size: 2.25rem;
    }
    
    .projects-cta p {
        font-size: 1.1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .button-primary,
    .cta-actions .button-ghost {
        width: 100%;
        justify-content: center;
    }
}
/* Fix featured image background */

/* ============================================
   NEW FEATURED PROJECT - COMPLETE REDESIGN
   ============================================ */

.featured-project-showcase {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: rgba(17, 21, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2.5rem;
}

.featured-project-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    z-index: 1;
}

.featured-project-showcase:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(139, 92, 246, 0.3);
}

/* Image Side */
.featured-project-image {
    position: relative;
    overflow: hidden;
    min-height: 550px;
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-project-showcase:hover .featured-project-image img {
    transform: scale(1.08);
}

.featured-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(236, 72, 153, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    backdrop-filter: blur(10px);
}

/* Info Side */
.featured-project-info {
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(17, 21, 33, 0.95);
    backdrop-filter: blur(30px);
}

.featured-project-header {
    margin-bottom: 2rem;
}

.featured-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.featured-location svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.featured-project-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-description {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.featured-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.featured-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.featured-features h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .featured-project-showcase {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }
    
    .featured-project-image {
        min-height: 400px;
    }
    
    .featured-project-info {
        padding: 3rem 2.5rem;
    }
    
    .featured-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .featured-project-showcase {
        grid-column: span 1;
        border-radius: 24px;
    }
    
    .featured-project-image {
        min-height: 350px;
    }
    
    .featured-project-info {
        padding: 2.5rem 2rem;
    }
    
    .featured-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .featured-badge {
        top: 1.5rem;
        left: 1.5rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.7rem;
    }
}
/* ============================================
   REDESIGN ALL PROJECT CARDS
   Consistent, modern design
   ============================================ */

/* Regular Project Cards */
.project-card:not(.featured) {
    background: rgba(17, 21, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.project-card:not(.featured)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.project-card:not(.featured):hover::before {
    transform: scaleX(1);
}

.project-card:not(.featured):hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.3);
}

/* Project Image */
.project-card:not(.featured)[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.project-card:not(.featured) .project-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.project-card:not(.featured)[style*="background-image"] .project-image-wrapper {
    background-image: inherit;
}

.project-card:not(.featured) .project-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    transition: opacity 0.4s ease;
}

.project-card:not(.featured):hover .project-image-wrapper::after {
    opacity: 0.7;
}

/* Project Content */
.project-card:not(.featured) .project-overlay {
    position: static;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: rgba(17, 21, 33, 0.95);
    backdrop-filter: blur(30px);
}

.project-card:not(.featured) .project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card:not(.featured) .project-location svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.project-card:not(.featured) h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.project-card:not(.featured) .project-description {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-card:not(.featured) .project-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.project-card:not(.featured) .project-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.project-card:not(.featured) .detail-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.project-card:not(.featured) .detail-value {
    color: #ffffff;
    font-weight: 600;
}

.project-card:not(.featured) .project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: auto;
}

.project-card:not(.featured) .feature-tag {
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.project-card:not(.featured) .feature-tag:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Update HTML structure for regular cards */
.project-card:not(.featured) {
    display: flex;
    flex-direction: column;
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .project-card:not(.featured) {
        min-height: 450px;
    }
    
    .project-card:not(.featured) .project-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 640px) {
    .project-card:not(.featured) {
        min-height: auto;
    }
    
    .project-card:not(.featured) .project-image-wrapper {
        height: 220px;
    }
    
    .project-card:not(.featured) .project-overlay {
        padding: 2rem 1.5rem;
    }
    
    .project-card:not(.featured) h3 {
        font-size: 1.35rem;
    }
}
/* Ensure project card images display correctly */
.project-card:not(.featured) .project-image-wrapper {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.project-card:not(.featured)[style*="background-image"] {
    background: transparent !important;
}
/* ============================================
   REDESIGN OUR WORK SECTION - COMPLETE
   ============================================ */

.projects {
    padding: 7rem 0;
    position: relative;
    background: rgba(13, 16, 24, 0.3);
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.05), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(236, 72, 153, 0.05), transparent 60%);
    pointer-events: none;
}

.projects > .container {
    position: relative;
    z-index: 1;
}

/* Our Work Showcase */
.our-work-showcase {
    margin-top: 4rem;
}

/* Featured Work Card */
.work-featured-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: rgba(17, 21, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 3rem;
}

.work-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    z-index: 1;
}

.work-featured-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(139, 92, 246, 0.3);
}

.work-featured-image {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.work-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.work-featured-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(236, 72, 153, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
    backdrop-filter: blur(10px);
}

.work-featured-content {
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(17, 21, 33, 0.95);
    backdrop-filter: blur(30px);
}

.work-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.work-location svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.work-featured-content h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-featured-content p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.work-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.work-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.work-feature:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
}

.work-feature svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.work-card {
    background: rgba(17, 21, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.work-card:hover::before {
    transform: scaleX(1);
}

.work-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.3);
}

.work-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.work-card-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.work-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.work-card-location svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.work-card-content h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.work-card-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    flex: 1;
}

.work-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: auto;
}

.work-card-tags span {
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.work-card-tags span:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .work-featured-card {
        grid-template-columns: 1fr;
    }
    
    .work-featured-image {
        min-height: 400px;
    }
    
    .work-featured-content {
        padding: 3rem 2.5rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .work-featured-image {
        min-height: 350px;
    }
    
    .work-featured-content {
        padding: 2.5rem 2rem;
    }
    
    .work-features-grid {
        grid-template-columns: 1fr;
    }
    
    .work-card-content {
        padding: 2rem 1.5rem;
    }
}
/* ============================================
   POLISH METRICS SECTION - PREMIUM DESIGN
   ============================================ */

.metrics > .container {
    position: relative;
    z-index: 1;
}
/* Mobile Responsive */
@media (max-width: 1080px) {
    .metrics {
        padding: 6rem 0;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .metric-card {
        padding: 3.5rem 2rem;
    }
    
    .metric-value {
        font-size: 3.5rem;
    }
    
    .metric-label {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .metrics {
        padding: 5rem 0;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metric-card {
        padding: 3rem 2rem;
    }
    
    .metric-value {
        font-size: 3rem;
    }
    
    .metric-label {
        font-size: 1.1rem;
    }
    
    .metric-desc {
        font-size: 0.95rem;
    }
}
/* ============================================
   REDESIGN METRICS SECTION - COMPLETE
   ============================================ */

.metrics {
    padding: 8rem 0;
    position: relative;
    background: transparent;
}

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

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-item:hover::before {
    transform: scaleX(1);
}

.metric-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-item:hover::after {
    opacity: 1;
}

.metric-item:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.3);
}

.metric-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    margin-bottom: 2rem;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.metric-item:hover .metric-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.3));
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
}

.metric-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
}

.metric-content {
    position: relative;
    z-index: 1;
}

.metric-value {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    transition: transform 0.3s ease;
}

.metric-item:hover .metric-value {
    transform: scale(1.1);
}

.metric-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
}

.metric-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .metrics {
        padding: 6rem 0;
    }
    
    .metrics-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .metric-item {
        padding: 3rem 1.5rem;
    }
    
    .metric-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .metric-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .metric-value {
        font-size: 3.5rem;
    }
}

@media (max-width: 640px) {
    .metrics {
        padding: 5rem 0;
    }
    
    .metrics-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metric-item {
        padding: 2.5rem 2rem;
    }
    
    .metric-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.5rem;
    }
    
    .metric-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .metric-value {
        font-size: 3rem;
    }
    
    .metric-label {
        font-size: 1.1rem;
    }
}

/* KNX Brands Card Polish */
.knx-brands-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.knx-brands-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3) !important;
}

.brand-logo-item:hover {
    opacity: 1 !important;
    transform: translateY(-4px);
}

.brand-logo-item:hover .brand-logo-wrapper {
    background: rgba(139, 92, 246, 0.1) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.brand-logo-item:hover .brand-name {
    color: #8b5cf6 !important;
}

@media (max-width: 768px) {
    .knx-brands-card {
        padding: 32px 24px !important;
    }
    
    .brands-grid-inline {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
        gap: 24px 16px !important;
    }
    
    .brand-logo-wrapper {
        width: 64px !important;
        height: 64px !important;
    }
}

/* Fancy Brand List Polish */
.brand-name-item {
    cursor: default;
}

.brand-name-item:hover {
    transform: translateX(8px);
}

.brand-name-item:hover span:first-child {
    color: #8b5cf6 !important;
}

.brand-name-item:hover span:last-child {
    width: 100% !important;
}

.knx-brands-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3) !important;
}

@media (max-width: 1024px) {
    .brands-list-fancy {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 16px 24px !important;
    }
}

@media (max-width: 768px) {
    .knx-brands-card {
        padding: 40px 24px !important;
    }
    
    .brands-list-fancy {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        gap: 12px 20px !important;
    }
    
    .brand-name-item {
        padding: 10px 0 !important;
    }
    
    .brand-name-item span:first-child {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .brands-list-fancy {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 16px !important;
    }
}

/* Highly Stylized Brand List */
.knx-brands-card {
    backdrop-filter: blur(10px);
}

.knx-brands-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

.brand-name-item {
    cursor: default;
    position: relative;
}

.brand-name-item::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
}

.brand-name-item:hover {
    transform: translateX(12px);
    padding-left: 8px;
}

.brand-name-item:hover::before {
    transform: translateY(-50%) scale(1.5);
}

.brand-name-item:hover > div:first-child {
    width: 10px !important;
    height: 10px !important;
    opacity: 1 !important;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.8), 0 0 32px rgba(236, 72, 153, 0.4) !important;
}

.brand-name-item:hover span:nth-child(2) {
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #8b5cf6) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: gradient-shift 2s ease infinite;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
}

.brand-name-item:hover span:last-child {
    width: 100% !important;
    animation: gradient-flow 2s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.brands-note strong {
    position: relative;
    display: inline-block;
}

.brands-note strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .brands-list-fancy {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 20px 32px !important;
    }
    
    .knx-brands-card {
        padding: 56px 40px !important;
    }
}

@media (max-width: 768px) {
    .knx-brands-card {
        padding: 48px 32px !important;
    }
    
    .brands-list-fancy {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 18px 24px !important;
    }
    
    .brand-name-item {
        padding: 14px 0 !important;
    }
    
    .brand-name-item span:nth-child(2) {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .brands-list-fancy {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 20px !important;
    }
    
    .knx-brands-card {
        padding: 40px 24px !important;
    }
}

/* Projects Section Styling */
.projects {
    padding: 100px 0;
    background: #040509;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.project-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-item:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.project-item-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}

.project-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .project-item-image img {
    transform: scale(1.1);
}

.project-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-item:hover .project-item-overlay {
    opacity: 1;
}

.project-location-small {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-item-content {
    padding: 32px;
}

.project-item-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.project-item-content p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}

.project-item-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-item-tags span {
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #8b5cf6;
    transition: all 0.3s ease;
}

.project-item:hover .project-item-tags span {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.projects-cta {
    text-align: center;
    margin-top: 48px;
}

/* Featured Project Styling */
.project-card.featured {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 48px;
}

.project-card.featured .project-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

.project-card.featured .project-content {
    padding: 48px;
}

.project-card.featured .project-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', sans-serif;
}

.project-card.featured .project-content p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

.project-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.feature-tag {
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

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

@media (max-width: 768px) {
    .projects {
        padding: 80px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .project-item-content {
        padding: 24px;
    }
    
    .project-card.featured .project-content {
        padding: 32px 24px;
    }
    
    .project-card.featured .project-content h3 {
        font-size: 26px;
    }
}

/* Work Card Styling (alternative class names) */
.work-card,
.work-featured-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover,
.work-featured-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.work-card-image,
.work-featured-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}

.work-card-image img,
.work-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover .work-card-image img,
.work-featured-card:hover .work-featured-image img {
    transform: scale(1.1);
}

.work-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.work-card-content,
.work-featured-content {
    padding: 32px;
}

.work-card-location,
.work-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
}

.work-card-location svg,
.work-location svg {
    width: 16px;
    height: 16px;
    color: #8b5cf6;
}

.work-card-content h4,
.work-featured-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.work-featured-content h3 {
    font-size: 28px;
}

.work-card-content p,
.work-featured-content p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}

.work-card-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.work-card-tags span {
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #8b5cf6;
    transition: all 0.3s ease;
}

.work-card:hover .work-card-tags span {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.work-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.work-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.work-feature svg {
    width: 20px;
    height: 20px;
    color: #8b5cf6;
    flex-shrink: 0;
}

.work-feature span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.work-feature:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(4px);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.our-work-showcase {
    margin-top: 48px;
}

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

/* Unified Project Card Styling - All projects use same style */
.work-featured-card,
.work-card,
.project-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.work-featured-card:hover,
.work-card:hover,
.project-item:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.work-featured-image,
.work-card-image,
.project-item-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}

.work-featured-image img,
.work-card-image img,
.project-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-featured-card:hover .work-featured-image img,
.work-card:hover .work-card-image img,
.project-item:hover .project-item-image img {
    transform: scale(1.1);
}

.work-featured-content,
.work-card-content,
.project-item-content {
    padding: 32px;
}

.work-location,
.work-card-location,
.project-location-small {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
}

.work-location svg,
.work-card-location svg {
    width: 16px;
    height: 16px;
    color: #8b5cf6;
}

.work-featured-content h3,
.work-card-content h4,
.project-item-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.work-featured-content h3 {
    font-size: 28px;
}

.work-featured-content p,
.work-card-content p,
.project-item-content p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}

.work-card-tags,
.project-item-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.work-card-tags span,
.project-item-tags span {
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #8b5cf6;
    transition: all 0.3s ease;
}

.work-card:hover .work-card-tags span,
.project-item:hover .project-item-tags span {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.work-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    z-index: 10;
}

.project-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-item:hover .project-item-overlay {
    opacity: 1;
}

.work-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.work-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.work-feature svg {
    width: 20px;
    height: 20px;
    color: #8b5cf6;
    flex-shrink: 0;
}

.work-feature span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.work-feature:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(4px);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.our-work-showcase {
    margin-top: 48px;
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-features-grid {
        grid-template-columns: 1fr;
    }
    
    .work-featured-content,
    .work-card-content,
    .project-item-content {
        padding: 24px;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================ */

/* Base mobile adjustments */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-main {
        flex-direction: column;
        gap: 32px;
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }
    
    .hero-text .lead {
        font-size: 16px !important;
        line-height: 1.6;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .button {
        width: 100%;
        text-align: center;
    }
    
    /* Metrics Section */
    .metrics-showcase {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    .metric-item {
        padding: 24px;
    }
    
    /* Solutions Section */
    .solutions-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    .solution-card {
        padding: 32px 24px;
    }
    
    /* Projects Section */
    .work-grid,
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    .work-featured-card,
    .work-card,
    .project-item {
        margin-bottom: 0;
    }
    
    .work-featured-image,
    .work-card-image,
    .project-item-image {
        height: 240px;
    }
    
    /* KNX Brands Section */
    .knx-brands-card {
        padding: 40px 24px !important;
    }
    
    .brands-list-fancy {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px 20px !important;
    }
    
    .brand-name-item {
        padding: 12px 0 !important;
    }
    
    .brand-name-item span:first-of-type {
        font-size: 15px !important;
    }
    
    /* Ecosystem Section */
    .ecosystem-features {
        grid-template-columns: 1fr !important;
    }
    
    /* Process Section */
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* CTA Section */
    .cta-grid {
        grid-template-columns: 1fr !important;
    }
    
    .cta-form {
        padding: 24px;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-text h1 {
        font-size: clamp(1.75rem, 10vw, 2.5rem) !important;
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 8vw, 2rem) !important;
    }
    
    .brands-list-fancy {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .work-featured-content,
    .work-card-content,
    .project-item-content {
        padding: 20px !important;
    }
    
    .work-featured-content h3,
    .work-card-content h4,
    .project-item-content h4 {
        font-size: 20px !important;
    }
    
    .knx-brands-card {
        padding: 32px 20px !important;
    }
    
    .brands-note p {
        font-size: 16px !important;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .work-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .brands-list-fancy {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ============================================
   HERO SECTION MOBILE FIXES
   ============================================ */

/* Base hero structure - REMOVED DUPLICATE to prevent conflicts */

/* Hero overlay disabled - no darkening/brightening */
.hero-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 20px 60px;
}

.hero-main {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-card {
    flex: 0 0 320px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

/* Mobile fixes - prevent overlapping */
@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
        padding: 0;
        overflow: visible !important;
    }
    
    .hero-content {
        padding: 100px 20px 40px !important;
        position: relative !important;
        z-index: 2;
        min-height: auto !important;
        display: block !important;
        overflow: visible !important;
    }
    
    .hero-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-text {
        width: 100% !important;
        flex: none !important;
        order: 1 !important;
        margin: 0 0 0 0 !important;
        padding: 0 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
    
    .hero-card {
        width: 100% !important;
        flex: none !important;
        order: 2 !important;
        margin: 0 !important;
        padding: 24px !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        max-width: 100% !important;
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    
    .hero-text .eyebrow {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-text .lead {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }
    
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin: 24px 0 !important;
        width: 100% !important;
    }
    
    .hero-actions .button {
        width: 100% !important;
        padding: 14px 24px !important;
        text-align: center !important;
    }
    
    .hero-badges {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-top: 20px !important;
        margin-bottom: 0 !important;
        font-size: 11px !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .hero-badges span {
        padding: 6px 12px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .hero-card h3 {
        font-size: 18px !important;
        margin-bottom: 16px !important;
    }
    
    .hero-card ul {
        margin: 0 !important;
        padding-left: 20px !important;
    }
    
    .hero-card li {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 8px !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-content {
        padding: 90px 16px 32px !important;
        min-height: auto !important;
    }
    
    .hero-main {
        gap: 24px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .hero-text {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .hero-text h1 {
        font-size: clamp(1.75rem, 10vw, 2.5rem) !important;
    }
    
    .hero-text .lead {
        font-size: 15px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-actions {
        margin-bottom: 20px !important;
    }
    
    .hero-badges {
        margin-top: 20px !important;
        margin-bottom: 0 !important;
    }
    
    .hero-card {
        padding: 20px !important;
        margin-top: 0 !important;
        position: relative !important;
    }
    
    .hero-actions .button {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

/* Ensure no absolute positioning causes overlap */
@media (max-width: 768px) {
    .hero-text,
    .hero-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: auto !important;
    }
    
    /* Ensure hero-text has proper bottom margin to separate from hero-card */
    .hero-text {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Ensure hero-card has proper top margin to separate from hero-text */
    .hero-card {
        margin-top: 0 !important;
        padding-top: 24px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-main {
        gap: 24px !important;
    }
}

/* ============================================
   BEGIN YOUR PROJECT (CTA) SECTION MOBILE FIXES
   ============================================ */

/* Base CTA section */
.cta {
    padding: 100px 0;
    background: #040509;
}

.cta-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.cta-card-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    padding: 0;
}

.cta-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.cta-content {
    padding: 48px;
}

.cta-form {
    padding: 48px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile fixes */
@media (max-width: 768px) {
    .cta {
        padding: 60px 0 !important;
    }
    
    .cta-grid {
        padding: 0 20px !important;
    }
    
    .cta-card-wrapper {
        border-radius: 20px !important;
    }
    
    .cta-content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }
    
    .cta-content {
        padding: 32px 24px !important;
        order: 1;
        width: 100% !important;
    }
    
    .cta-form {
        padding: 32px 24px !important;
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        order: 2;
        width: 100% !important;
    }
    
    .cta-content .eyebrow {
        font-size: 12px !important;
        margin-bottom: 16px !important;
    }
    
    .cta-content h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }
    
    .cta-content p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }
    
    .cta-features {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }
    
    .cta-feature {
        font-size: 14px !important;
        padding: 12px 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .cta-feature::before {
        content: '✓';
        color: #8b5cf6;
        font-weight: bold;
        font-size: 16px;
    }
    
    /* Form styling */
    .cta-form label {
        display: block !important;
        margin-bottom: 16px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .cta-form input,
    .cta-form textarea {
        width: 100% !important;
        padding: 14px 16px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-family: inherit !important;
        margin-top: 8px !important;
        box-sizing: border-box !important;
    }
    
    .cta-form input:focus,
    .cta-form textarea:focus {
        outline: none !important;
        border-color: #8b5cf6 !important;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
    }
    
    .cta-form .form-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        margin-bottom: 0 !important;
    }
    
    .cta-form .form-row label {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    .cta-form button {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 16px !important;
        margin-top: 8px !important;
    }
    
    .cta-form textarea {
        resize: vertical !important;
        min-height: 120px !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .cta {
        padding: 48px 0 !important;
    }
    
    .cta-grid {
        padding: 0 16px !important;
    }
    
    .cta-content,
    .cta-form {
        padding: 24px 20px !important;
    }
    
    .cta-content h2 {
        font-size: clamp(1.5rem, 8vw, 2rem) !important;
    }
    
    .cta-content p {
        font-size: 15px !important;
    }
    
    .cta-feature {
        font-size: 13px !important;
    }
    
    .cta-form input,
    .cta-form textarea {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    
    .cta-form button {
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
}

/* Ensure no overlapping */
@media (max-width: 768px) {
    .cta-content,
    .cta-form {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        float: none !important;
    }
}

/* ============================================
   COMPACT BRAND LIST FOR MOBILE
   ============================================ */

@media (max-width: 768px) {
    .knx-brands-card {
        padding: 32px 20px !important;
    }
    
    .brands-list-fancy {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px 16px !important;
        max-height: 400px;
        overflow-y: auto;
        padding-right: 8px;
    }
    
    /* Custom scrollbar for mobile */
    .brands-list-fancy::-webkit-scrollbar {
        width: 4px;
    }
    
    .brands-list-fancy::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }
    
    .brands-list-fancy::-webkit-scrollbar-thumb {
        background: rgba(139, 92, 246, 0.5);
        border-radius: 2px;
    }
    
    .brand-name-item {
        padding: 8px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    .brand-name-item > div:first-child {
        width: 4px !important;
        height: 4px !important;
    }
    
    .brand-name-item span:first-of-type {
        font-size: 13px !important;
        font-weight: 500 !important;
        letter-spacing: 0.2px !important;
    }
    
    .brand-name-item span:last-child {
        height: 1px !important;
    }
    
    .brands-note {
        margin-top: 32px !important;
        padding-top: 24px !important;
    }
    
    .brands-note p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
    
    .brands-note strong {
        font-size: 17px !important;
    }
}

@media (max-width: 480px) {
    .knx-brands-card {
        padding: 28px 16px !important;
    }
    
    .brands-list-fancy {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 12px !important;
        max-height: 350px;
    }
    
    .brand-name-item {
        padding: 6px 0 !important;
    }
    
    .brand-name-item span:first-of-type {
        font-size: 12px !important;
    }
    
    .brands-note {
        margin-top: 24px !important;
        padding-top: 20px !important;
    }
    
    .brands-note p {
        font-size: 14px !important;
    }
    
    .brands-note strong {
        font-size: 16px !important;
    }
}

/* Alternative: Show fewer brands on mobile with "show more" option */
@media (max-width: 768px) {
    .brands-list-fancy {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* Limit visible brands to first 18 on mobile */
    .brand-name-item:nth-child(n+19) {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Show even fewer on small mobile - first 12 */
    .brand-name-item:nth-child(n+13) {
        display: none;
    }
}

/* ============================================
   HEADER BAR MOBILE SIZE IMPROVEMENTS
   ============================================ */

@media (max-width: 768px) {
    .site-header {
        min-height: 70px !important;
        padding: 0 !important;
    }
    
    .header-inner {
        padding: 16px 1.5rem !important;
        min-height: 70px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .brand-logo {
        height: 50px !important;
        width: auto !important;
    }
    
    .menu-dropdown-toggle {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hamburger-icon {
        width: 24px !important;
        height: 20px !important;
    }
    
    .hamburger-icon .line {
        height: 2.5px !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .site-header {
        min-height: 75px !important;
    }
    
    .header-inner {
        padding: 18px 1.25rem !important;
        min-height: 75px !important;
    }
    
    .brand-logo {
        height: 52px !important;
    }
    
    .menu-dropdown-toggle {
        width: 46px !important;
        height: 46px !important;
    }
    
    .hamburger-icon {
        width: 26px !important;
        height: 22px !important;
    }
    
    .hamburger-icon .line {
        height: 3px !important;
    }
}

/* Ensure header is always visible and properly sized */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(4, 5, 9, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
/* ===== MOBILE FRIENDLY FIXES FOR PROJECTS, BLOG, FAQ PAGES ===== */

/* Projects Page Mobile */
@media (max-width: 820px) {
    .hero {
        padding: 5rem 0 4rem !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding: 40px 20px !important;
    }
    
    .projects-title {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }
    
    .projects-subtitle,
    .projects-lead {
        font-size: 16px !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .hero-stat {
        width: 100%;
    }
    
    .projects-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .project-featured {
        grid-template-columns: 1fr !important;
    }
    
    .project-card.featured {
        flex-direction: column !important;
    }
    
    .project-card.featured .featured-image,
    .project-card.featured .featured-content {
        width: 100% !important;
    }
    
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .project-card:not(.featured) {
        width: 100% !important;
    }
    
    .project-content {
        padding: 2rem 1.5rem !important;
    }
    
    .project-content h3 {
        font-size: 1.5rem !important;
    }
    
    .project-features {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .feature-tag {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0 3rem !important;
    }
    
    .hero-content {
        padding: 30px 15px !important;
    }
    
    .projects-intro {
        padding: 3rem 0 !important;
    }
    
    .projects-intro-content {
        padding: 0 15px !important;
    }
    
    .intro-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-content {
        padding: 1.5rem 1rem !important;
    }
    
    .project-content h3 {
        font-size: 1.25rem !important;
    }
    
    .project-content p {
        font-size: 0.95rem !important;
    }
}

/* Blog Page Mobile */
@media (max-width: 820px) {
    .hero {
        padding: 5rem 0 4rem !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding: 40px 20px !important;
    }
    
    .blog-title {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }
    
    .blog-subtitle {
        font-size: 18px !important;
    }
    
    .blog-lead {
        font-size: 16px !important;
    }
    
    .blog-categories {
        padding: 30px 0 !important;
    }
    
    .blog-categories .container > div {
        flex-wrap: wrap !important;
        gap: 12px !important;
        padding: 0 15px !important;
    }
    
    .category-filter {
        font-size: 13px !important;
        padding: 8px 18px !important;
    }
    
    .blog-main {
        padding: 4rem 0 !important;
    }
    
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 15px !important;
    }
    
    .blog-card.featured {
        grid-column: span 1 !important;
        grid-template-columns: 1fr !important;
    }
    
    .blog-card.featured .blog-image {
        min-height: 250px !important;
    }
    
    .blog-card.featured .blog-content {
        padding: 2rem 1.5rem !important;
    }
    
    .blog-card .blog-content {
        padding: 2rem 1.5rem !important;
    }
    
    .blog-card h3,
    .blog-card .blog-title {
        font-size: 1.5rem !important;
    }
    
    .blog-meta {
        font-size: 13px !important;
        flex-wrap: wrap;
        gap: 8px !important;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0 3rem !important;
    }
    
    .hero-content {
        padding: 30px 15px !important;
    }
    
    .blog-categories {
        padding: 25px 0 !important;
    }
    
    .category-filter {
        font-size: 12px !important;
        padding: 7px 15px !important;
    }
    
    .blog-main {
        padding: 3rem 0 !important;
    }
    
    .blog-grid {
        gap: 1.5rem !important;
        padding: 0 10px !important;
    }
    
    .blog-card .blog-content {
        padding: 1.5rem 1rem !important;
    }
    
    .blog-card h3,
    .blog-card .blog-title {
        font-size: 1.25rem !important;
    }
    
    .blog-card p,
    .blog-excerpt {
        font-size: 0.95rem !important;
    }
}

/* FAQ Page Mobile */
@media (max-width: 820px) {
    .hero {
        padding: 5rem 0 4rem !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding: 40px 20px !important;
    }
    
    .faq-title {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }
    
    .faq-subtitle {
        font-size: 18px !important;
    }
    
    .faq-lead {
        font-size: 16px !important;
    }
    
    .faq-categories {
        padding: 30px 0 !important;
    }
    
    .faq-categories .container > div {
        flex-wrap: wrap !important;
        gap: 12px !important;
        padding: 0 15px !important;
    }
    
    .faq-categories .category-filter {
        font-size: 13px !important;
        padding: 8px 18px !important;
    }
    
    .faq-main {
        padding: 4rem 0 !important;
    }
    
    .faq-list {
        padding: 0 15px !important;
    }
    
    .faq-item {
        margin-bottom: 12px !important;
    }
    
    .faq-question {
        padding: 20px 20px !important;
        flex-wrap: wrap;
    }
    
    .faq-question h3 {
        font-size: 16px !important;
        padding-right: 15px !important;
        line-height: 1.4 !important;
    }
    
    .faq-answer > div {
        padding: 0 20px 20px 20px !important;
        font-size: 15px !important;
    }
    
    .faq-answer ul {
        padding-left: 20px !important;
        margin: 12px 0 !important;
    }
    
    .faq-answer li {
        margin-bottom: 6px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0 3rem !important;
    }
    
    .hero-content {
        padding: 30px 15px !important;
    }
    
    .faq-categories {
        padding: 25px 0 !important;
    }
    
    .faq-categories .category-filter {
        font-size: 12px !important;
        padding: 7px 15px !important;
    }
    
    .faq-main {
        padding: 3rem 0 !important;
    }
    
    .faq-list {
        padding: 0 10px !important;
    }
    
    .faq-question {
        padding: 18px 15px !important;
    }
    
    .faq-question h3 {
        font-size: 15px !important;
        padding-right: 10px !important;
    }
    
    .faq-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    .faq-answer > div {
        padding: 0 15px 18px 15px !important;
        font-size: 14px !important;
    }
    
    .faq-answer ul {
        padding-left: 18px !important;
    }
    
    .faq-answer li {
        font-size: 13px !important;
    }
}

/* Ensure containers are responsive */
@media (max-width: 640px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
/* ===== CONTACT PAGE MOBILE FRIENDLY & POLISH ===== */

/* Contact Hero Mobile */
@media (max-width: 820px) {
    .hero {
        padding: 5rem 0 4rem !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding: 40px 20px !important;
    }
    
    .contact-title {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }
    
    .contact-subtitle {
        font-size: 18px !important;
    }
    
    .contact-lead {
        font-size: 16px !important;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0 3rem !important;
    }
    
    .hero-content {
        padding: 30px 15px !important;
    }
    
    .contact-subtitle {
        font-size: 16px !important;
    }
    
    .contact-lead {
        font-size: 15px !important;
    }
}

/* Contact Main Section - Mobile Layout */
@media (max-width: 1080px) {
    .contact-main {
        padding: 5rem 0 !important;
    }
    
    .contact-main .container > div {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        padding: 0 20px !important;
    }
}

@media (max-width: 820px) {
    .contact-main {
        padding: 4rem 0 !important;
    }
    
    .contact-main .container > div {
        gap: 2.5rem !important;
        padding: 0 15px !important;
    }
    
    /* Contact Form Wrapper */
    .contact-form-wrapper {
        padding: 30px 25px !important;
        border-radius: 16px !important;
    }
    
    .contact-form-wrapper h2 {
        font-size: 24px !important;
    }
    
    .contact-form-wrapper > p {
        font-size: 15px !important;
        margin-bottom: 24px !important;
    }
    
    /* Form Groups */
    .form-group {
        gap: 6px !important;
    }
    
    .form-group label {
        font-size: 13px !important;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 12px 16px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }
    
    .contact-form textarea {
        min-height: 120px !important;
    }
    
    .submit-btn {
        padding: 14px 28px !important;
        font-size: 15px !important;
        width: 100% !important;
        border-radius: 12px !important;
    }
    
    /* Contact Info Wrapper */
    .contact-info-wrapper {
        gap: 24px !important;
    }
    
    /* Contact Cards */
    .contact-card {
        padding: 24px 20px !important;
        border-radius: 14px !important;
    }
    
    .contact-card > div {
        gap: 16px !important;
    }
    
    .contact-card > div > div:first-child {
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
    }
    
    .contact-card > div > div:first-child svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .contact-card h3 {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
    
    .contact-card p {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }
    
    .contact-card a {
        font-size: 15px !important;
    }
    
    /* Business Hours */
    .business-hours {
        padding: 24px 20px !important;
        border-radius: 14px !important;
    }
    
    .business-hours h3 {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }
    
    .business-hours > div {
        gap: 14px !important;
    }
    
    .business-hours > div > div {
        padding-bottom: 14px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
    
    .business-hours span {
        font-size: 14px !important;
    }
    
    /* Social Links */
    .social-links {
        padding: 24px 20px !important;
        border-radius: 14px !important;
    }
    
    .social-links h3 {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }
    
    .social-links > div {
        gap: 12px !important;
    }
    
    .social-links a {
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
    }
    
    .social-links a svg {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 640px) {
    .contact-main {
        padding: 3rem 0 !important;
    }
    
    .contact-main .container > div {
        gap: 2rem !important;
        padding: 0 10px !important;
    }
    
    /* Contact Form Wrapper */
    .contact-form-wrapper {
        padding: 24px 20px !important;
        border-radius: 14px !important;
    }
    
    .contact-form-wrapper h2 {
        font-size: 22px !important;
        margin-bottom: 6px !important;
    }
    
    .contact-form-wrapper > p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    /* Form Groups */
    .form-group {
        gap: 6px !important;
    }
    
    .form-group label {
        font-size: 12px !important;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 12px 14px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }
    
    .contact-form textarea {
        min-height: 100px !important;
        
    }
    
    .submit-btn {
        padding: 14px 24px !important;
        font-size: 14px !important;
        width: 100% !important;
    }
    
    /* Contact Info Wrapper */
    .contact-info-wrapper {
        gap: 20px !important;
    }
    
    /* Contact Cards */
    .contact-card {
        padding: 20px 18px !important;
        border-radius: 12px !important;
    }
    
    .contact-card > div {
        gap: 14px !important;
    }
    
    .contact-card > div > div:first-child {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }
    
    .contact-card > div > div:first-child svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .contact-card h3 {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }
    
    .contact-card p {
        font-size: 13px !important;
        margin-bottom: 3px !important;
    }
    
    .contact-card a {
        font-size: 14px !important;
    }
    
    /* Business Hours */
    .business-hours {
        padding: 20px 18px !important;
        border-radius: 12px !important;
    }
    
    .business-hours h3 {
        font-size: 16px !important;
        margin-bottom: 18px !important;
    }
    
    .business-hours > div {
        gap: 12px !important;
    }
    
    .business-hours > div > div {
        padding-bottom: 12px !important;
    }
    
    .business-hours span {
        font-size: 13px !important;
    }
    
    /* Social Links */
    .social-links {
        padding: 20px 18px !important;
        border-radius: 12px !important;
    }
    
    .social-links h3 {
        font-size: 16px !important;
        margin-bottom: 18px !important;
    }
    
    .social-links > div {
        gap: 10px !important;
    }
    
    .social-links a {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }
    
    .social-links a svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Polish: Enhanced Hover Effects */
@media (min-width: 821px) {
    .contact-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15) !important;
        border-color: rgba(139, 92, 246, 0.3) !important;
    }
    
    .contact-form input:focus,
    .contact-form textarea:focus,
    .contact-form select:focus {
        border-color: rgba(139, 92, 246, 0.5) !important;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
        outline: none !important;
    }
    
    .submit-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3) !important;
    }
    
    .submit-btn:active {
        transform: translateY(0) !important;
    }
    
    .social-links a:hover {
        background: rgba(139, 92, 246, 0.15) !important;
        border-color: rgba(139, 92, 246, 0.3) !important;
        transform: translateY(-2px) !important;
        color: #8b5cf6 !important;
    }
}

/* Polish: Form Input Placeholder Styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
}

.contact-form select option {
    background: #1a1d2e !important;
    color: #ffffff !important;
}

/* Polish: Better Visual Hierarchy */
.contact-form-wrapper {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.contact-card,
.business-hours,
.social-links {
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

/* Polish: Improved Spacing */
@media (max-width: 640px) {
    .contact-form {
        gap: 20px !important;
    }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE FOR HOME PAGE ===== */
@media (max-width: 768px) {
    /* Metrics Section */
    .metrics-showcase {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .metric-item {
        padding: 1.5rem 1rem !important;
    }
    
    .metric-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .metric-value {
        font-size: 2rem !important;
    }
    
    .metric-label {
        font-size: 1rem !important;
    }
    
    .metric-desc {
        font-size: 0.85rem !important;
    }
    
    /* Experience Section */
    .experience {
        padding: 4rem 0 !important;
    }
    
    .experience-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .experience-media {
        min-height: 300px !important;
        order: -1;
    }
    
    .experience-content h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem) !important;
    }
    
    /* Solutions Section - KNX Brands */
    .solutions {
        padding: 4rem 0 !important;
    }
    
    .knx-brands-card {
        padding: 2rem 1.5rem !important;
        margin-top: 2rem !important;
    }
    
    .brands-list-fancy {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem 1.5rem !important;
        column-gap: 1.5rem !important;
    }
    
    .brand-name-item {
        padding: 12px 0 !important;
    }
    
    .brand-name-item span {
        font-size: 14px !important;
    }
    
    .brands-note {
        margin-top: 2rem !important;
        padding-top: 2rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Projects Section */
    .projects {
        padding: 4rem 0 !important;
    }
    
    .work-featured-card {
        grid-template-columns: 1fr !important;
    }
    
    .work-featured-image {
        min-height: 300px !important;
    }
    
    .work-featured-content {
        padding: 2rem 1.5rem !important;
    }
    
    .work-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .work-card {
        border-radius: 20px !important;
    }
    
    .work-card-image {
        min-height: 250px !important;
    }
    
    .work-card-content {
        padding: 1.5rem !important;
    }
    
    /* Process Section */
    .process {
        padding: 4rem 0 !important;
    }
    
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .process-step {
        padding: 2rem 1.5rem !important;
    }
    
    .process-number {
        font-size: 3rem !important;
    }
    
    /* Testimonials Section */
    .testimonials {
        padding: 4rem 0 !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem !important;
    }
    
    /* CTA Section */
    .cta-content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .cta-content {
        text-align: center !important;
    }
    
    .cta-form {
        padding: 2.5rem 1.5rem !important;
    }
    
    .cta-form .form-row {
        grid-template-columns: 1fr !important;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 2.5rem !important;
    }
    
    .section-header h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    }
    
    .section-lead {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }
}

@media (max-width: 480px) {
    /* Metrics Section - Single Column */
    .metrics-showcase {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    
    .metric-item {
        padding: 1.25rem 1rem !important;
    }
    
    /* Solutions - Single Column Brands */
    .brands-list-fancy {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .brand-name-item {
        padding: 10px 0 !important;
    }
    
    .brand-name-item span {
        font-size: 13px !important;
    }
    
    /* Projects */
    .work-featured-image {
        min-height: 250px !important;
    }
    
    .work-featured-content {
        padding: 1.5rem 1rem !important;
    }
    
    .work-featured-content h3 {
        font-size: 1.5rem !important;
    }
    
    .work-features-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .work-card-image {
        min-height: 200px !important;
    }
    
    .work-card-content {
        padding: 1.25rem 1rem !important;
    }
    
    /* Process */
    .process-step {
        padding: 1.75rem 1.25rem !important;
    }
    
    .process-number {
        font-size: 2.5rem !important;
    }
    
    .process-step h3 {
        font-size: 1.25rem !important;
    }
    
    /* CTA */
    .cta {
        padding: 4rem 0 !important;
    }
    
    .cta-content-wrapper {
        gap: 2rem !important;
    }
    
    .cta-content h2 {
        font-size: clamp(1.5rem, 7vw, 2rem) !important;
    }
    
    .cta-form {
        padding: 2rem 1.25rem !important;
    }
    
    .cta-form input,
    .cta-form textarea {
        padding: 1rem 1.25rem !important;
        font-size: 0.95rem !important;
    }
    
    .cta-form .button-primary {
        padding: 1.125rem 2rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Hero Background - Disable fixed attachment on mobile */
    .hero-background {
        background-attachment: scroll !important;
    }
    
    /* Container padding */
    .container {
        padding: 0 1rem !important;
    }
}
