/* ============================================
   Broadigo Website - Main Stylesheet
   Mobile-First Responsive Design
   ============================================ */

/* CSS Variables (Design Tokens) */
:root {
    /* Colors */
    --color-primary: rgba(255, 57, 31, 1);
    --color-primary-dark: rgba(255, 57, 31, 1);
    --color-primary-light: rgba(255, 57, 31, 1);
    --color-gray: #E0E0E0;
    --color-gray-light: #F5F5F5;
    --color-gray-dark: #666666;
    --color-black: #141414;
    --color-white: #FFFFFF;

    /* Typography */
    --font-display: 'Halfre', serif;
    --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Font Sizes (Mobile First) */
    --fs-xs: 0.75rem;
    /* 12px */
    --fs-sm: 0.875rem;
    /* 14px */
    --fs-base: 1rem;
    /* 16px */
    --fs-lg: 1.125rem;
    /* 18px */
    --fs-xl: 1.25rem;
    /* 20px */
    --fs-2xl: 1.5rem;
    /* 24px */
    --fs-3xl: 1.875rem;
    /* 30px */
    --fs-4xl: 2.25rem;
    /* 36px */
    --fs-5xl: 3rem;
    /* 48px */
    --fs-6xl: 3.75rem;
    /* 60px */

    /* Spacing Scale */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 0.75rem;
    /* 12px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2rem;
    /* 32px */
    --space-2xl: 3rem;
    /* 48px */
    --space-3xl: 4rem;
    /* 64px */
    --space-4xl: 6rem;
    /* 96px */
    --space-5xl: 8rem;
    /* 128px */

    /* Container */
    --container-max-width: 1280px;
    --container-padding: var(--space-md);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ============================================
   Base Styles
   ============================================ */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

/* Focus Styles for Accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Smooth Scroll - Disabled to avoid conflict with GSAP */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: auto;
    }
}

/* Respect User's Motion Preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Custom Scrollbar - Modern Minimal Black
   ============================================ */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #000000 #f5f5f5;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a1a1a;
}

/* ============================================
   Utility Classes
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ============================================
   Page Loader
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
}

.page-loader.loaded {
    transform: translateY(-100%);
    opacity: 0;
}

.page-loader__logo {
    animation: logoFadeIn 0.8s ease-out;
}

.page-loader__logo-img {
    height: 60px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    padding: var(--space-lg) 0 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header.revealed {
    opacity: 1;
    transform: translateY(0);
}

.header__container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: 10px;
    padding: var(--space-md);
    width: calc(100% - var(--space-xl));
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: var(--space-xl);
}

.nav__logo-img {
    height: 32px;
    width: auto;
    display: block;
    padding-left: 10px;
    padding-top: 5px;
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-white);
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: var(--z-fixed);
}

.nav__toggle-icon {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition-base);
}

.nav__toggle-icon::before,
.nav__toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition-base);
    left: 0;
}

.nav__toggle-icon::before {
    top: -8px;
}

.nav__toggle-icon::after {
    bottom: -8px;
}

/* Mobile Menu Active State */
.nav__toggle[aria-expanded="true"] .nav__toggle-icon {
    background-color: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation Menu - Centered Elegant Dropdown */
.nav__menu {
    position: absolute;
    top: calc(100% + 24px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    width: calc(115% - var(--space-xl));
    max-width: 1000px;
    height: auto;
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: var(--z-dropdown);
    list-style: none;
}

.nav__menu--active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.nav__item {
    width: 100%;
}

.nav__item--cta {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav__link {
    font-size: 22px;
    font-weight: 400;
    padding: 14px 0;
    color: #141414;
    transition: all 0.2s ease;
    display: block;
    font-family: var(--font-display);
}

.nav__link:hover,
.nav__link:focus {
    color: #FF391F;
    transform: translateX(4px);
}

/* Mobile CTA Button inside dropdown */
.btn-start-project--mobile {
    display: flex;
    width: 100%;
    justify-content: space-between;
    background-color: #000000;
    border-color: #000000;
    font-size: 16px !important;
}

.btn-start-project--mobile:hover {
    background-color: #FF391F;
    border-color: #FF391F;
}

/* Desktop CTA - hidden on mobile */
.btn-start-project--desktop {
    display: none;
}

/* Mobile CTA Button */
.nav__item--mobile-only {
    margin-top: 12px;
    width: 100%;
}

.nav__mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0A0F14;
    color: #FFFFFF;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.nav__mobile-cta:active {
    transform: scale(0.98);
}

.nav__mobile-cta-icon {
    width: 28px;
    height: 28px;
    background-color: #FFFFFF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0F14;
}

.btn-start-project {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background-color: #000000;
    color: #FFFFFF;
    padding: 6px 6px 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
    border: 2px solid #000000;
}

.btn-start-project:hover,
.btn-start-project:focus {
    background-color: #FF391F;
    border-color: #FF391F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-start-project__arrow {
    width: 33px;
    height: 33px;
    flex-shrink: 0;
}

.btn-start-project--hero {
    background-color: #ff391f;
    color: var(--color-white);
    border-color: #e0e0e010;
    font-size: 16px;
    padding: 6px 6px 6px 24px;
    gap: var(--space-md);
}

.btn-start-project--hero:hover,
.btn-start-project--hero:focus {
    background-color: #e63319;
    border-color: #e63319;
    transform: translateY(-1px);
}

/* Hide only desktop header CTA button on mobile and tablet, keep hero CTA visible */
@media (max-width: 1024px) {
    .btn-start-project--desktop {
        display: none;
    }

    .btn-start-project--mobile {
        display: flex;
    }
}

.hero__buttons .btn--secondary {
    font-size: 16px;
    padding: 6px 18px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    border: 2px solid rgba(20, 20, 20, 0.11) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero__buttons .btn--secondary:hover,
.hero__buttons .btn--secondary:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(20, 20, 20, 0.6) !important;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: calc(var(--space-4xl) + 80px) 0 var(--space-5xl);
    background-color: transparent;
    position: relative;
    overflow: visible;
    min-height: 100vh;
    display: flex;
    align-items: center;
    --hero-gradient-top-shift: -8vh;
    --hero-gradient-height: 150vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    animation: gridPulse 3s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + var(--hero-gradient-top-shift));
    height: var(--hero-gradient-height);
    background-image: url('../assets/images/Hero Gradient.svg');
    background-repeat: no-repeat;
    background-position: 50% 0%;
    background-size: cover;
    opacity: 1;
    mix-blend-mode: normal;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
    z-index: 0;
    z-index: 0;
    pointer-events: none;
}

.hero.hero--no-gradient::after {
    display: none;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.08;
    }

    50% {
        opacity: 0.16;
    }
}

.hero__grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.1s ease-out;
    opacity: 0;
    will-change: transform;
}

.hero__grid-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 100%);
}

.hero__grid-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            black 0%,
            black 40%,
            transparent 100%);
    -webkit-mask-image: radial-gradient(circle 350px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            black 0%,
            black 40%,
            transparent 100%);
    opacity: 0.22;
}

.hero__grid-flow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, transparent 0%, rgba(255, 57, 31, 0.3) 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: -100% 0;
    z-index: 0;
    pointer-events: none;
    animation: gridFlow 8s linear infinite;
    opacity: 0.4;
    mix-blend-mode: screen;
}

@keyframes gridFlow {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hero .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.hero__content {
    max-width: 850px;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background-color: rgba(255, 255, 255, 0.03);
    padding: var(--space-xs) var(--space-md);
    border-radius: 5px;
    margin-bottom: var(--space-2xl);
    font-size: var(--fs-sm);
    color: #ffffffc2;
    border: 1px solid rgba(255, 255, 255, 0.068);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    -webkit-backdrop-filter: blur(10px);
}

.hero__badge-icon {
    height: 20px;
    width: auto;
    flex-shrink: 0;
}

.hero__title {
    font-size: clamp(32px, 8vw, 80px);
    line-height: 0.95;
    margin-bottom: var(--space-2xl);
    background: linear-gradient(-180deg, #FFFFFF 0%, #FFFFFF 15%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    letter-spacing: -2px;
    max-width: 100%;
    text-align: center;
}

/* Mobile optimization - 480px breakpoint */
@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
        padding: calc(var(--space-3xl) + 80px) 0 var(--space-3xl);
        --hero-gradient-top-shift: -12vh;
        --hero-gradient-height: 170vh;
    }

    .hero__title {
        font-size: 48px !important;
        line-height: 1.05;
        letter-spacing: -1px;
        margin-bottom: var(--space-lg);
    }

    .about-intro__title {
        font-size: 32px !important;
        line-height: 1.3;
        padding-right: 0 !important;
        margin-bottom: 60px;
    }

    .interactive-box__title {
        font-size: 35px !important;
        font-weight: 500 !important;
        line-height: 1.1 !important;
        letter-spacing: -0.3px !important;
        margin-top: 40px !important;
    }

    .project-card {
        grid-template-columns: 1fr !important;
    }

    .project-card__image {
        min-height: 250px !important;
    }

    .project-card:first-child .project-card__content,
    .project-card:last-child .project-card__content {
        padding: 32px 24px !important;
    }

    .project-card__title {
        font-size: 28px !important;
        margin-top: 40px !important;
    }

    .project-card__description {
        font-size: 16px !important;
        padding-right: 0 !important;
    }

    .project-card__tag {
        top: 24px !important;
        right: 24px !important;
    }

    .testimonial-card {
        padding: 28px 24px !important;
        min-height: 280px !important;
        gap: 20px !important;
    }

    .testimonial-card__logo {
        font-size: 22px !important;
    }

    .testimonial-card__quote {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    .testimonial-card__avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .testimonial-card__author strong {
        font-size: 14px !important;
    }

    .testimonial-card__author span {
        font-size: 13px !important;
    }

    .testimonials__wrapper {
        padding: 0 !important;
        overflow: visible !important;
    }

    .testimonials__grid {
        overflow: hidden !important;
        padding: 0 !important;
    }

    .testimonial-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
    }

    .testimonials__header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .testimonials__nav {
        order: 2 !important;
        align-self: flex-start !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .testimonials {
        padding-top: var(--space-lg) !important;
    }

    .testimonials__header {
        margin-bottom: var(--space-2xl) !important;
    }

    .projects__title br,
    .process__title br,
    .solutions__title br {
        display: none !important;
    }

    .testimonials__title,
    .projects__title,
    .process__title,
    .solutions__title,
    .cta__heading,
    .faq__title {
        font-size: 32px !important;
    }

    .process__badge {
        display: inline-flex !important;
    }

    .solutions__badge {
        display: inline-flex !important;
    }

    .process__title {
        text-align: center !important;
    }

    .solutions__title {
        text-align: center !important;
    }

    .process-card {
        padding: 32px 24px !important;
        gap: var(--space-lg) !important;
    }

    .process-card__icon {
        width: 48px !important;
        height: 45px !important;
        margin-bottom: 40px !important;
    }

    .process-card__title {
        font-size: 32px !important;
    }

    .process-card__tag {
        font-size: 13px !important;
        padding: 6px 14px !important;
    }

    .cta__stats {
        gap: 16px !important;
        padding: 20px 0 !important;
        margin-bottom: var(--space-lg) !important;
    }

    .cta__stat-number {
        font-size: 24px !important;
        margin-bottom: 4px !important;
    }

    .cta__stat-label {
        font-size: 11px !important;
    }

    .footer__container {
        padding: 40px 20px 40px !important;
    }

    .footer__top {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
        margin-bottom: 40px !important;
    }

    .footer__col:nth-child(1) {
        grid-column: 1 / -1;
    }

    .footer__col:nth-child(2) {
        grid-column: 1 / 2;
    }

    .footer__col:nth-child(3) {
        grid-column: 2 / 3;
    }

    .footer__link {
        font-size: 22px !important;
    }

    .footer__label {
        font-size: 13px !important;
    }

    .footer__text {
        font-size: 12px !important;
    }

    .footer__bottom {
        gap: 20px !important;
    }

    .footer__copyright {
        font-size: 13px !important;
    }

    .footer__legal-link {
        font-size: 13px !important;
    }

    .footer__brand {
        bottom: -120px !important;
    }

    .footer__brand-text {
        font-size: clamp(100px, 18vw, 200px) !important;
    }

    .faq__title {
        margin-bottom: var(--space-2xl) !important;
    }

    .projects {
        padding-top: 60px !important;
    }

    .cta .container {
        margin-top: 50px !important;
    }

    .faq {
        padding-top: 100px !important;
    }
}

/* Tablet optimization - show one card */
@media (max-width: 1024px) {
    .about-intro__title {
        padding-right: 0 !important;
    }

    .hero__title {
        font-size: 52px !important;
        line-height: 1 !important;
    }

    .project-card {
        grid-template-columns: 1fr !important;
    }

    .project-card__image {
        min-height: 300px !important;
    }

    .project-card:first-child .project-card__content,
    .project-card:last-child .project-card__content {
        padding: 36px 32px !important;
    }

    .project-card__title {
        font-size: 32px !important;
        margin-top: 50px !important;
    }

    .project-card__description {
        font-size: 17px !important;
        padding-right: 0 !important;
    }

    .testimonials__title,
    .projects__title,
    .process__title,
    .cta__heading,
    .faq__title {
        font-size: 38px !important;
    }

    .process__badge {
        display: inline-flex !important;
    }

    .process__title {
        text-align: center !important;
    }

    .testimonials__grid {
        overflow: hidden !important;
    }

    .testimonial-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .testimonials__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonials__nav {
        order: 2;
        align-self: flex-start;
        margin-top: var(--space-lg);
        margin-bottom: -30px;
    }

    .testimonials {
        padding: var(--space-3xl) 0;
    }

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

    .project-card__image {
        min-height: 300px;
    }

    .project-card:first-child .project-card__content,
    .project-card:last-child .project-card__content {
        padding: 36px 32px;
    }

    .project-card__title {
        font-size: 32px;
        margin-top: 50px;
    }

    .project-card__description {
        font-size: 17px;
        padding-right: 0;
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.hero__graphic {
    display: none;
}

.hero__shape-svg {
    width: auto;
    height: 400px;
    max-width: none;
    opacity: 0.95;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--fs-base);
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn--primary:hover,
.btn--primary:focus {
    background-color: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 2px solid #141414;
}

.btn--secondary:hover,
.btn--secondary:focus {
    background-color: var(--color-gray-light);
    border-color: #141414;
}

.btn--large {
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--fs-lg);
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn--with-icon {
    gap: var(--space-sm);
    padding-right: var(--space-sm);
}

.btn__icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: 6px;
    flex-shrink: 0;
}

.btn--primary .btn__icon-box svg {
    color: var(--color-white);
}


/* ============================================
   About Intro Section
   ============================================ */

.about-intro {
    padding: var(--space-4xl) 0;
    background-color: transparent;
    position: relative;
    overflow: visible;
    --glow-x: 50%;
    --glow-y: 50%;
    z-index: 100;
    transition: --glow-x 0.3s ease, --glow-y 0.3s ease;
}

.about-intro .container {
    background-color: rgba(235, 235, 207, 1);
    border-radius: 16px;
    padding: var(--space-5xl) var(--space-lg);
    width: calc(100% - var(--space-md));
    margin: 0 auto;
    max-width: none;
    margin-top: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.about-intro .container::before {
    content: none;
}

.about-intro__content {
    max-width: var(--container-max-width);
    margin: 0 auto var(--space-3xl) auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

.about-intro__title {
    font-size: clamp(38px, 6vw, 54px);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 150px;
    color: rgba(0, 6, 16, 1);
    text-align: center;
    padding-right: 100px;
    padding-left: 100px;
}


/* ============================================
   Services Showcase Grid (Inside About Section)
   ============================================ */

.services-showcase__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-showcase-card {
    background-color: rgba(0, 6, 16, 1);
    padding: 70px 30px 30px 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    min-height: 400px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease;
}

.service-showcase-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.service-showcase-card:nth-child(1).revealed {
    transition-delay: 0.1s;
}

.service-showcase-card:nth-child(2).revealed {
    transition-delay: 0.2s;
}

.service-showcase-card:nth-child(3).revealed {
    transition-delay: 0.3s;
}

.service-showcase-card:nth-child(4).revealed {
    transition-delay: 0.4s;
}

.service-showcase-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 57, 31, 1);
    border-color: transparent;
}

.service-showcase-card:hover .service-showcase-card__description {
    color: rgba(255, 255, 255, 0.9);
}

.service-showcase-card:hover .tag {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.service-showcase-card__title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
    line-height: 1;
}

.service-showcase-card__description {
    font-size: var(--fs-lg);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    flex: 1;
}

.service-showcase-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.tag {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e0e0e007;
    border-radius: 10px;
    font-size: 14px;
    color: #e5e5e5;
    border: none;
    transition: all var(--transition-fast);
    font-weight: 400;
}

.service-showcase-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-black);
    font-size: 16px;
    background-color: var(--color-white);
    font-weight: 500;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all var(--transition-fast);
    margin-top: auto;
    width: 100%;
}

.service-showcase-card__link img {
    width: 32px;
    height: 32px;
    transition: transform var(--transition-fast);
}

.service-showcase-card__link:hover {
    background-color: #f5f5f5;
}

.service-showcase-card__link:hover img {
    transform: translateX(4px);
}

/* ============================================
   Interactive Physics Box
   ============================================ */

.interactive-box {
    max-width: var(--container-max-width);
    margin: var(--space-5xl) auto 0;
    padding: 0;
    position: relative;
    z-index: 1;
    background: rgba(255, 57, 31, 1);
    border-radius: 24px;
    min-height: 500px;
    height: 500px;
    overflow: hidden;
}

.interactive-box__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-3xl) var(--space-2xl);
    pointer-events: none;
}

.interactive-box__title {
    font-size: clamp(32px, 8vw, 72px);
    font-weight: 400;
    color: var(--color-white);
    line-height: 0.9;
    max-width: 800px;
    letter-spacing: -2px;
    margin: 0 auto;
    margin-top: 80px;
}

.interactive-box__title .highlight-text {
    color: rgba(66, 15, 8, 1);
}

#physicsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: auto;
    cursor: grab;
}

#physicsCanvas:active {
    cursor: grabbing;
}

.interactive-box__hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 12px 24px;
    border-radius: 30px;
    display: none;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.interactive-box__hint-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.interactive-box__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 30;
    background-color: white;
    color: black;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.interactive-box__close:active {
    transform: scale(0.95);
}

@media (max-width: 1024px) {
    .interactive-box__hint {
        display: flex;
    }

    /* When interactive mode is active */
    .interactive-box.is-interactive .interactive-box__hint {
        opacity: 0;
    }

    .interactive-box.is-interactive .interactive-box__close {
        display: block;
    }
}

/* ============================================
   Expertise Network Section
   ============================================ */

.expertise-network {
    padding: var(--space-5xl) 0;
    background-color: transparent;
    position: relative;
}

.expertise-network .container {
    background-color: var(--color-black);
    border-radius: 16px;
    padding: var(--space-5xl) var(--space-lg);
    width: calc(100% - var(--space-xl));
    margin: 0 auto;
}

.expertise-network__diagram {
    max-width: 1000px;
    margin: var(--space-5xl) auto 0;
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Concentric gradient circles - 5 circles */
.expertise-network__diagram::before,
.expertise-network__diagram::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.expertise-network__diagram::before {
    width: 600px;
    height: 600px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.expertise-network__diagram::after {
    width: 480px;
    height: 480px;
    box-shadow:
        0 0 0 120px transparent,
        0 0 0 121px rgba(255, 255, 255, 0.05),
        0 0 0 240px transparent,
        0 0 0 241px rgba(255, 255, 255, 0.05);
}

.expertise-network__center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: -1;
}

.expertise-network__center::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: -1;
}

.expertise-network__node {
    position: absolute;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--color-white);
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    transition: all var(--transition-base);
}

.expertise-network__node:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.expertise-network__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.expertise-network__logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 20px rgba(255, 57, 31, 0.4));
}

.expertise-network__node--top {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.expertise-network__node--top-left {
    top: 18%;
    left: 12%;
}

.expertise-network__node--top-right {
    top: 18%;
    right: 12%;
}

.expertise-network__node--center-left {
    top: 42%;
    left: 18%;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.expertise-network__node--center {
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-black);
    font-weight: 500;
    padding: 12px 20px;
}

.expertise-network__node--center-right {
    top: 42%;
    right: 18%;
}

.expertise-network__node--left {
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
}

.expertise-network__node--right {
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
}

/* ============================================
   Sections
   ============================================ */

.services,
.stats,
.why-choose,
.portfolio,
.testimonials,
.cta {
    padding: var(--space-3xl) 0;
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section__title {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-md);
    color: var(--color-black);
}

.section__subtitle {
    font-size: var(--fs-base);
    color: var(--color-gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    background-color: var(--color-white);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.service-card {
    background-color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray);
    transition: all var(--transition-base);
}

.service-card--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

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

.service-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 57, 31, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.service-card--primary .service-card__icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.service-card--primary .service-card__icon svg {
    color: var(--color-white);
}

.service-card__title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.service-card__description {
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-md);
}

.service-card--primary .service-card__description {
    color: rgba(255, 255, 255, 0.9);
}

.service-card__link {
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.service-card--primary .service-card__link {
    color: var(--color-white);
}

.service-card__link:hover,
.service-card__link:focus {
    text-decoration: underline;
}

/* ============================================
   Stats Section
   ============================================ */

.stats {
    background-color: transparent;
    color: var(--color-white);
}

.stats .container {
    background-color: var(--color-black);
    border-radius: 16px;
    padding: var(--space-4xl) var(--space-lg);
    width: calc(100% - var(--space-xl));
    margin: 0 auto;
}

.stats__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
}

.stat__value {
    font-size: clamp(48px, 10vw, 80px);
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
    color: var(--color-white);
    line-height: 1;
}

.stat__label {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* ============================================
   Why Choose Section
   ============================================ */

.why-choose {
    background-color: var(--color-gray-light);
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.feature-card {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card--dark {
    background-color: var(--color-black);
    color: var(--color-white);
}

.feature-card--light {
    background-color: var(--color-white);
    color: var(--color-black);
}

.feature-card--medium {
    background-color: var(--color-gray);
    color: var(--color-black);
}

.feature-card__title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.feature-card__description {
    font-size: var(--fs-base);
    line-height: 1.6;
    opacity: 0.9;
}

/* ============================================
   Portfolio Section
   ============================================ */

.portfolio__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.portfolio-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.portfolio-card__image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--color-gray-light);
}

.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card__image img {
    transform: scale(1.05);
}

.portfolio-card__content {
    padding: var(--space-xl);
}

.portfolio-card__title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.portfolio-card__description {
    font-size: var(--fs-base);
    color: var(--color-gray-dark);
    line-height: 1.6;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: var(--space-5xl) 0;
    background-color: transparent;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonials.revealed {
    opacity: 1;
    transform: translateY(0);
}

.testimonials .container {
    width: calc(100% - var(--space-md));
    margin: 0 auto;
    max-width: 1380px;
}

.testimonials__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid #e0e0e025;
    border-radius: 10px;
    font-size: 14px;
    color: #ffffff81;
    margin-bottom: var(--space-3xl);
}

.testimonials__badge-icon {
    width: 20px;
    height: 20px;
}

.testimonials__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4xl);
    gap: var(--space-2xl);
}

.testimonials__title {
    font-size: clamp(26px, 4.5vw, 50px);
    font-weight: 500;
    line-height: 0.9;
    background: linear-gradient(-200deg, #ffffff 0%, #ffffff1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -30px;
    flex: 1;
    letter-spacing: -1px;

}

.testimonials__nav {
    display: flex;
    gap: 12px;
}

.testimonials__btn {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.testimonials__btn:hover {
    background-color: #f5f5f5;
}

.testimonials__btn svg {
    width: 20px;
    height: 20px;
    stroke: #000000;
}

.testimonials__wrapper {
    overflow: visible;
    position: relative;
    padding: 0 20px;
}

.testimonials__grid {
    display: flex;
    gap: var(--space-lg);
}

.testimonials__grid.sliding {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 calc((100% - (var(--space-lg) * 2)) / 3);
    min-width: 0;
    padding: 48px 40px;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.005);
    border: 1px solid rgba(255, 255, 255, 0.21);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 480px;
    opacity: 0.5;

    filter: blur(2px);
}

.testimonial-card--active {
    background-color: rgba(235, 235, 207, 1);
    color: rgb(0, 0, 0);
    opacity: 1;
    filter: blur(0);
}

.testimonial-card__logo {
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: #888;
    letter-spacing: -0.5px;
}

.testimonial-card--active .testimonial-card__logo {
    color: rgba(71, 71, 42, 0.603);
}

.testimonial-card__quote {
    font-size: 27px;
    line-height: 1.1;
    color: #ffffff;
    flex: 1;
    font-family: var(--font-display);
}

.testimonial-card--active .testimonial-card__quote {
    color: #030202;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;

}

.testimonial-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 20%;
    object-fit: cover;
    background-color: rgb(10, 10, 3);
}

.testimonial-card__author strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.testimonial-card--active .testimonial-card__author strong {
    color: rgb(14, 14, 4);
}

.testimonial-card__author span {
    display: block;
    font-size: 14px;
    color: #b8b8b8d5;
}

.testimonial-card--active .testimonial-card__author span {
    color: #999;
}

/* Removed - using flex layout with one card at a time on tablet */

@media (max-width: 768px) {
    .testimonials__header {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .testimonials__nav {
        align-self: flex-end;
    }

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

    .testimonial-card {
        padding: 32px 24px;
        min-height: 320px;
    }
}

/* ============================================
   Highlighted Projects Section
   ============================================ */

.projects {
    padding: var(--space-5xl) 0;
    background-color: transparent;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.projects.revealed {
    opacity: 1;
    transform: translateY(0);
}

.projects .container {
    width: calc(100% - var(--space-md));
    margin: 0 auto;
    max-width: 1380px;
}

.projects__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid #e0e0e025;
    border-radius: 10px;
    font-size: 14px;
    color: #ffffff81;
    margin-bottom: var(--space-3xl);
}

.projects__title {
    font-size: clamp(26px, 4.5vw, 50px);
    font-weight: 500;
    line-height: 0.9;
    background: linear-gradient(-200deg, #ffffff 0%, #ffffff1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -30px;
    flex: 1;
    letter-spacing: -1px;
    margin-bottom: var(--space-4xl);
}

.projects__title .highlight-blue {
    color: rgba(255, 57, 31, 1);
}

.projects__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.projects__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
}

/* New Project Container Layout */
.project-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: var(--space-2xl);
}

.project-container--reverse {
    direction: rtl;
}

.project-container--reverse>* {
    direction: ltr;
}

.project-container__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    color: var(--color-white);
    max-width: 640px;
}

.project-container__tag {
    display: inline-block;
    padding: 10px 16px;
    background-color: rgba(255, 57, 31, 1);
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    width: fit-content;
}

.project-container__title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 500;
    line-height: 1.1;
}

.project-container__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    background-color: #14161a;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    width: fit-content;
}

.project-container__button:hover {
    background-color: #0f1114;
    transform: translateY(-1px);
}

.project-container__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    background-color: #efe8c8;
    color: #0a0f14;
    border-radius: 8px;
    font-size: 13px;
}

.project-container__visual {
    background-color: transparent;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    justify-self: end;
}

.project-container--reverse .project-container__visual {
    justify-self: end;
}

.project-container__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .project-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .project-container__visual {
        width: 100%;
        aspect-ratio: auto;
        min-height: 320px;
        justify-self: stretch;
    }
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid #000000;
    background-color: #000000;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.project-card--reverse {
    direction: rtl;
}

.project-card--reverse>* {
    direction: ltr;
}

.project-card__image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background-color: #00000000;
    overflow: hidden;

}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-card:first-child .project-card__content {
    background-color: #1a1a1a;
    color: var(--color-white);
    padding: 40px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
}

.project-card:last-child .project-card__content {
    background-color: #1a1a1a;
    color: var(--color-white);
    padding: 40px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
}

.project-card__tag {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--color-white);
    color: #1a1a1a;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
    position: absolute;
    top: 32px;
    right: 32px;
}

.project-card__title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 var(--space-md) 0;
    margin-top: 60px;
}

.project-card__description {
    font-size: 18px;
    line-height: 1.4;
    opacity: 0.85;
    flex: 1;
    padding-right: 32px;
    margin-top: -10px;
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 28px;
    background-color: var(--color-white);
    color: #1a1a1a;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 19px;
    transition: all var(--transition-fast);
    width: 100%;
    max-width: 400px;
}

.project-card__link:hover {
    background-color: #f5f5f5;
}

.project-card__link:hover .project-card__arrow {
    transform: translateX(6px);
}

.project-card__arrow {
    width: 38px;
    height: 37px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.project-card__stat {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-md);
}

.project-card__stat .highlight {
    color: #ffffff;
    font-weight: 600;
}

/* ============================================
   Our Process Section
   ============================================ */

.process {
    padding: var(--space-3xl) 0;
    background-color: transparent;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process.revealed {
    opacity: 1;
    transform: translateY(0);
}

.process .container {
    width: calc(100% - var(--space-md));
    margin: 0 auto;
    max-width: var(--container-max-width);
    text-align: center;
}

.process__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid #e0e0e025;
    border-radius: 10px;
    font-size: 14px;
    color: #ffffff81;
    margin-bottom: var(--space-3xl);
}

.process__title {
    font-size: clamp(26px, 4.5vw, 50px);
    font-weight: 500;
    line-height: 0.9;
    background: linear-gradient(-200deg, #ffffff 0%, #ffffff1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -30px;
    letter-spacing: -1px;
    margin-bottom: var(--space-4xl);
    text-align: center;
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.process__grid::before,
.process__grid::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 57, 31, 1);
    border-radius: 0;
    z-index: 1;
}

.process__grid::before {
    top: 0;
    left: 0;
}

.process__grid::after {
    top: 0;
    right: 0;
}

.process-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.062);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
}

.process-card:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

.process-card:first-child::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 57, 31, 1);
    border-radius: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.process-card:last-child::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 57, 31, 1);
    border-radius: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.process-card__icon {
    width: 58px;
    height: 54px;
    margin-bottom: 75px;
}

.process-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.process-card__title {
    font-size: 50px;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
}

.process-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.process-card__tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    border: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

@media (max-width: 1024px) {
    .process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process__title {
        text-align: left;
    }

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

    .process-card {
        padding: 32px 24px;
    }
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    padding: 0;
    background-color: transparent;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta.revealed {
    opacity: 1;
    transform: translateY(0);
}

.cta .container {
    width: calc(100% - var(--space-md));
    margin: 0 auto;
    max-width: var(--container-max-width);
    margin-top: var(--space-5xl);
}

.cta--contact-page .container {
    margin-top: var(--space-xl);
}

.cta--contact-page {
    padding-bottom: 150px;
}

.cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.cta__left {
    background-color: rgba(235, 235, 207, 1);
    color: #1a1a1a;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta__badge-wrapper {
    margin-bottom: var(--space-lg);
}

.cta__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta__decorative-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 57, 31, 0.15) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    pointer-events: none;
}

.cta__right {
    background: transparent;
    padding: 48px 40px;
}

.cta__heading {
    font-size: clamp(26px, 4.5vw, 50px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--space-2xl);
}

.cta__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: var(--space-3xl);
    padding: 32px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cta__stat {
    text-align: center;
}

.cta__stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    background: none;
    -webkit-text-fill-color: #1a1a1a;
    background-clip: border-box;
}

.cta__stat-label {
    font-size: 13px;
    color: rgba(26, 26, 26, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta__benefits-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cta__benefits {
    display: flex;
    gap: 12px;
    animation: slideLeft 30s linear infinite;
    width: fit-content;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cta__tag {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group--half {
    width: 100%;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Satoshi', Arial, sans-serif;
    transition: all var(--transition-fast);
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--color-white);
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: #FF391F;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 57, 31, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown__selected {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.custom-dropdown__selected:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.12);
}

.custom-dropdown.active .custom-dropdown__selected {
    border-color: #FF391F;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(255, 57, 31, 0.1);
}

.custom-dropdown__text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
}

.custom-dropdown.active .custom-dropdown__text,
.custom-dropdown.has-value .custom-dropdown__text {
    color: var(--color-white);
}

.custom-dropdown__arrow {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.custom-dropdown.active .custom-dropdown__arrow {
    transform: rotate(180deg);
}

.custom-dropdown__options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.custom-dropdown.active .custom-dropdown__options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown__option {
    padding: 14px 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-dropdown__option:last-child {
    border-bottom: none;
}

.custom-dropdown__option:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.custom-dropdown__option.selected {
    background-color: rgba(255, 255, 255, 0.2);
}

.option-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-white);
}

.option-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
    font-family: 'Satoshi', Arial, sans-serif;
}

.cta__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 24px;
    background-color: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    transition: all var(--transition-fast);
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}

.cta__button:hover {
    background-color: #f5f5f5;
}

.cta__button img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.cta__button:hover img {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

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

    .cta__left,
    .cta__right {
        padding: 48px 32px;
    }
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
    padding: calc(var(--space-5xl) * 1.5) 0;
    background-color: var(--color-beige);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq.revealed {
    opacity: 1;
    transform: translateY(0);
}

.faq__title {
    font-size: clamp(26px, 4.5vw, 50px);
    font-weight: 500;
    line-height: 0.9;
    text-align: center;
    margin-bottom: var(--space-4xl);
    background: linear-gradient(-200deg, #ffffff 0%, #ffffff1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq__list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__item {
    background-color: rgba(255, 255, 255, 0.005);
    border: 2px solid #e0e0e015;
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq__item:hover {
    background-color: rgba(255, 57, 31, 1);
    border-color: rgba(255, 57, 31, 1);
}

.faq__item:hover .faq__question {
    color: #ffffff;
    opacity: 1;
}

.faq__item:hover .faq__icon {
    stroke: #ffffff;
}

.faq__item.active {
    background-color: rgba(235, 235, 207, 1);
    border-color: rgba(235, 235, 207, 2);
    color: #030202;
}

.faq__question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff81;
    transition: all var(--transition-fast);
}

.faq__item.active .faq__question {
    color: #030202;
}

.faq__question:hover {
    opacity: 0.8;
}

.faq__icon {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
    stroke: var(--color-black);
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
    stroke: #030202;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq__item.active .faq__answer {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.faq__answer p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.faq__item.active .faq__answer p {
    color: rgba(3, 2, 2, 0.8);
}

@media (max-width: 768px) {
    .faq__question {
        padding: 20px;
        font-size: 16px;
    }

    .faq__item.active .faq__answer {
        padding: 0 20px 20px 20px;
    }
}

@media (max-width: 768px) {

    .cta__left,
    .cta__right {
        padding: 40px 24px;
    }

    .cta__option {
        padding: 20px 24px;
    }
}

/* ============================================
   Main Content - For Sticky Reveal Footer Effect
   ============================================ */

/* 
 * STICKY REVEAL FOOTER TECHNIQUE
 * 
 * How it works:
 * 1. Main content has higher z-index (2) and sits ABOVE the footer
 * 2. Footer uses position: sticky with bottom: 0 and lower z-index (1)
 * 3. As user scrolls down, main content scrolls UP and OVER the footer
 * 4. Footer "reveals" from beneath as content moves away
 * 
 * Key Requirements:
 * - Main: position: relative, z-index: 2, solid background
 * - Footer: position: sticky, bottom: 0, z-index: 1, min-height: 100vh
 * 
 * Result: Smooth, modern reveal effect popularized by Framer.com
 */

main {
    position: relative;
    /* Creates stacking context */
    z-index: 2;
    /* Above footer - content scrolls over it */
    background-color: rgba(6, 6, 6, 1);
    /* Solid bg to cover footer */
}

/* ============================================
   Footer - Sticky Reveal Effect
   ============================================ */

.footer {
    background-color: #FF391F;
    color: var(--color-white);
    padding: 0;
    position: sticky;
    /* Sticks to viewport during scroll */
    bottom: 0;
    /* Anchors to bottom of viewport */
    overflow: hidden;
    min-height: 100vh;
    /* Full viewport height for reveal effect */
    display: flex;
    align-items: center;
    z-index: 1;
    /* Behind main content - gets revealed */
}

.footer__glow {
    display: none;
    /* Removed glow for flat design */
}

.footer__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 48px 0 48px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
}

.footer__content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    padding-bottom: 0;
}

/* CTA Card Styles */
.footer__cta-card {
    background-color: #EBEBCF;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #141414;
    width: 100%;
}

.footer__cta-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 500;
    line-height: 0.95;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: #141414;
}

.footer__cta-subtitle {
    font-size: 16px;
    color: rgba(20, 20, 20, 0.6);
    margin-bottom: 24px;
    font-weight: 400;
}

.footer__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background-color: #0A0F14;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.footer__cta-btn:hover {
    transform: translateY(-2px);
}

.footer__cta-arrow {
    width: 28px;
    height: 28px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding-top: 0;
    width: 100%;
}

.footer__col {
    display: flex;
    flex-direction: column;
}

.footer__col--center {
    text-align: center;
    align-items: center;
}

.footer__col--right {
    text-align: right;
    align-items: flex-end;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
    text-decoration: none;
    line-height: 1.2;
}

.footer__link:hover {
    color: var(--color-white);
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__label {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 4px 0;
    font-family: 'Satoshi', Arial, sans-serif;
}

.footer__text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.footer__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    background-color: #000000;
    padding: 20px 48px;
}

.footer__copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.footer__copyright p {
    margin: 0;
}

.footer__center {
    display: flex;
    justify-content: center;
}

.footer__right {
    display: flex;
    justify-content: flex-end;
}

.footer__legal-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer__brand {
    display: none;
    /* Removed large brand text */
}

/* ============================================
   Cookie Consent Popup
   ============================================ */

.cookie-popup {
    position: fixed;
    bottom: 32px;
    left: 32px;
    transform: translateX(-120%);
    z-index: 9999;
    max-width: 360px;
    width: calc(100% - 64px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-popup.show {
    transform: translateX(0);
}

.cookie-popup__container {
    background: rgba(20, 20, 20, 0.7);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cookie-popup__content {
    margin-bottom: 20px;
}

.cookie-popup__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 10px 0;
    font-family: 'Satoshi', Arial, sans-serif;
}

.cookie-popup__description {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cookie-popup__actions {
    display: flex;
    gap: 10px;
}

.cookie-popup__btn {
    flex: 1;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: 'Satoshi', Arial, sans-serif;
}

.cookie-popup__btn--primary {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-popup__btn--primary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-popup__btn--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-popup__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 640px) {
    .cookie-popup {
        bottom: 16px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
    }

    .cookie-popup__container {
        padding: 20px;
    }

    .cookie-popup__actions {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .footer__col--center,
    .footer__col--right {
        text-align: left;
        align-items: flex-start;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .footer__brand-text {
        font-size: clamp(80px, 15vw, 120px);
    }
}

@media (max-width: 768px) {
    .footer {
        min-height: auto !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .footer__container {
        padding: 60px 24px 120px 24px !important;
        min-height: auto !important;
        padding-bottom: 80px !important;
    }

    .footer__top {
        margin-bottom: 100px !important;
    }

    .footer__cta-title {
        font-size: 42px !important;
    }

    .footer__label {
        font-size: 22px !important;
        font-weight: 600 !important;
    }

    .footer__text {
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    .footer__bottom {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 16px !important;
        padding: 20px 24px !important;
        margin-bottom: 0 !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        margin-left: 0 !important;
        background-color: #000000 !important;
    }

    .footer__copyright {
        grid-column: 1 !important;
        grid-row: 1 !important;
        font-size: 14px !important;
    }

    .footer__center {
        grid-column: 1 !important;
        grid-row: 2 !important;
        justify-content: flex-start !important;
    }

    .footer__right {
        grid-column: 1 !important;
        grid-row: 2 !important;
        justify-content: flex-end !important;
    }

    .footer__legal {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .footer__legal-link {
        font-size: 14px !important;
    }
}

/* ============================================
   Page Hero
   ============================================ */

.page-hero {
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: linear-gradient(135deg, #F5F7FF 0%, #FFFFFF 100%);
    text-align: center;
}

.page-hero__title {
    font-size: var(--fs-4xl);
    margin-bottom: var(--space-md);
}

.page-hero__subtitle {
    font-size: var(--fs-lg);
    color: var(--color-gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   About Page Styles
   ============================================ */

.about-story {
    padding: var(--space-3xl) 0;
    background-color: var(--color-white);
}

.about-story__content {
    max-width: 800px;
    margin: 0 auto;
}

.about-story__text {
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-lg);
}

.about-values {
    padding: var(--space-3xl) 0;
    background-color: var(--color-gray-light);
}

.values__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.value-card {
    background-color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.value-card__title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.value-card__description {
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--color-gray-dark);
}

.about-team {
    padding: var(--space-3xl) 0;
    background-color: var(--color-white);
}

.team__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.team-member {
    text-align: center;
}

.team-member__image {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--color-gray-light);
}

.team-member__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member__name {
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.team-member__role {
    font-size: var(--fs-base);
    color: var(--color-gray-dark);
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact {
    padding: var(--space-3xl) 0;
    background-color: var(--color-white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

.contact__heading {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-md);
}

.contact__description {
    font-size: var(--fs-lg);
    line-height: 1.6;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-2xl);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact__detail {
    display: flex;
    gap: var(--space-md);
}

.contact__icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact__detail-title {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact__detail-text {
    font-size: var(--fs-base);
    color: var(--color-gray-dark);
}

.contact__detail-text a {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.contact__detail-text a:hover,
.contact__detail-text a:focus {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* ============================================
   Form Styles
   ============================================ */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form__label {
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--color-black);
}

.form__required {
    color: var(--color-primary);
}

.form__input,
.form__textarea,
.form__select {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-base);
    border: 1px solid var(--color-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background-color: var(--color-white);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 57, 31, 0.1);
}

.form__input--error {
    border-color: #EF4444;
}

.form__input--error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__error {
    color: #EF4444;
    font-size: var(--fs-sm);
    margin-top: var(--space-xs);
}

.form__success {
    padding: var(--space-md);
    background-color: #10B981;
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    margin-bottom: var(--space-lg);
}

/* ============================================
   Service Page Styles
   ============================================ */

.service-overview {
    padding: var(--space-3xl) 0;
    background-color: var(--color-white);
}

.service-overview__content {
    max-width: 900px;
    margin: 0 auto;
}

.service-overview__text {
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-lg);
}

.service-features {
    padding: var(--space-3xl) 0;
    background-color: var(--color-gray-light);
}

.service-tech {
    padding: var(--space-3xl) 0;
    background-color: var(--color-white);
}

.tech__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.tech-item {
    padding: var(--space-md) var(--space-lg);
    background-color: var(--color-gray-light);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    font-size: var(--fs-base);
    transition: all var(--transition-fast);
}

.tech-item:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.service-process {
    padding: var(--space-3xl) 0;
    background-color: var(--color-gray-light);
}

.process__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.process-step {
    background-color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    position: relative;
}

.process-step__number {
    font-size: var(--fs-4xl);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.2;
    margin-bottom: var(--space-sm);
}

.process-step__title {
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.process-step__description {
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--color-gray-dark);
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

/* Small phones and up (480px) */
@media (min-width: 480px) {
    :root {
        --container-padding: var(--space-lg);
    }

    .hero__title {
        font-size: 80px;
    }

    .section__title {
        font-size: var(--fs-4xl);
    }
}

/* Tablets and up (768px) */
@media (min-width: 768px) {
    :root {
        --container-padding: var(--space-xl);
    }

    /* Navigation - Desktop */
    .nav__toggle {
        display: none;
    }

    .nav__menu {
        position: static;
        height: auto;
        width: auto;
        max-width: none;
        padding: 0;
        flex-direction: row;
        gap: var(--space-lg);
        align-items: center;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: transparent;
        flex: 1;
        justify-content: center;
        border: none;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        list-style: none;
    }

    .nav__item {
        width: auto;
    }

    .nav__item--cta {
        display: none;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .btn-start-project--desktop {
        display: inline-flex;
    }

    .btn-start-project--mobile {
        display: none;
    }

    .nav__link {
        font-size: var(--fs-base);
        font-weight: 400;
        padding: 0;
        color: var(--color-black);
        font-family: var(--font-body);
    }

    .nav__link:hover,
    .nav__link:focus {
        color: var(--color-gray);
        background-color: transparent;
        transform: none;
    }

    /* Hero */
    .hero__title {
        font-size: 80px;
    }

    /* Clients Logos */
    .clients__logos {
        gap: var(--space-3xl);
    }

    .clients__logo {
        height: 40px;
    }

    /* About Intro */
    .about-intro .container {
        padding: var(--space-5xl) var(--space-3xl);
    }

    .about-intro__title {
        font-size: clamp(38px, 6vw, 54px);
    }

    /* Services Showcase */
    .services-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Expertise Network */
    .expertise-network .container {
        padding: var(--space-5xl) var(--space-3xl);
    }

    /* Stats */
    .stats .container {
        padding: var(--space-5xl) var(--space-3xl);
    }

    /* Expertise Network */
    .expertise-network__diagram {
        max-width: 700px;
        gap: var(--space-xl);
    }

    .expertise-network__node {
        font-size: var(--fs-base);
        padding: var(--space-md);
    }

    /* Services Grid */
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats Grid */
    .stats__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }

    /* Features Grid */
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Portfolio Grid */
    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer Grid */
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Page Hero */
    .page-hero__title {
        font-size: var(--fs-5xl);
    }

    /* Projects - First project title padding */
    .project-container:first-child .project-container__title {
        padding-right: 80px;
    }

    /* Values Grid */
    .values__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Team Grid */
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Grid */
    .contact__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4xl);
    }

    /* Tech Grid */
    .tech__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Process Steps */
    .process__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop and up (1024px) */
@media (min-width: 1024px) {

    /* Hero */
    .hero__title {
        font-size: 80px;
    }

    /* Black Section Containers */
    .about-intro .container,
    .expertise-network .container,
    .stats .container {
        padding: var(--space-5xl) var(--space-4xl);
    }

    /* Services Showcase */
    .service-showcase-card--mobile-only {
        display: none !important;
    }

    .services-showcase__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Expertise Network */
    .expertise-network__diagram {
        max-width: 800px;
    }

    /* Services Grid */
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Features Grid */
    .features__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Portfolio Grid */
    .portfolio__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer Grid */
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    /* Values Grid */
    .values__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Team Grid */
    .team__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large screens and up (1400px) */
@media (min-width: 1400px) {
    :root {
        --fs-6xl: 4.5rem;
        /* 72px */
    }

    .container {
        padding-left: var(--space-2xl);
        padding-right: var(--space-2xl);
    }
}

/* ============================================
   Connected Solutions Section
   ============================================ */

.solutions {
    padding: var(--space-4xl) 0;
    background-color: transparent;
}

.solutions .container {
    width: calc(100% - var(--space-md));
    margin: 0 auto;
    max-width: 1380px;
}

.solutions__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid #e0e0e025;
    border-radius: 10px;
    font-size: 14px;
    color: #ffffff81;
    margin-bottom: var(--space-3xl);
}

.solutions__title {
    font-size: clamp(26px, 4.5vw, 50px);
    font-weight: 500;
    line-height: 0.9;
    background: linear-gradient(-200deg, #ffffff 0%, #ffffff1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -30px;
    letter-spacing: -1px;
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
    margin-top: var(--space-2xl);
}

.solutions__grid .solution-card:nth-child(1) {
    grid-column: 1 / span 5;
}

.solutions__grid .solution-card:nth-child(2) {
    grid-column: 6 / span 7;
}

.solutions__grid .solution-card:nth-child(3) {
    grid-column: 1 / span 6;
}

.solutions__grid .solution-card:nth-child(4) {
    grid-column: 7 / span 6;
}

.solution-card {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.8) 100%,
            rgba(255, 255, 255, 0.4) 1000%,
            rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.solution-card--glow::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 280px;
    height: 280px;
    background: radial-gradient(closest-side, rgba(255, 57, 31, 0.45), rgba(255, 57, 31, 0) 70%);
    filter: blur(0.5px);
}

.solution-card__title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.1;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
    font-family: var(--font-body);
}

.solution-card__description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    padding-right: 160px;
}

.solution-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background-color: rgba(255, 57, 31, 1);
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 10px 24px rgba(255, 57, 31, 0.3);
    margin-bottom: var(--space-lg);
}

.solution-card__search {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-sm);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid #e0e0e025;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: var(--space-lg);
}

.solution-card__search input {
    background: none;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.solution-card__search-icon {
    color: rgba(255, 255, 255, 0.6);
}

.solution-card__icons {
    display: flex;
    gap: 10px;
    margin-bottom: var(--space-lg);
}

.integration-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    font-size: 12px;
}

.solution-card__illustration {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 180px;
    height: 180px;
}

.solution-card__illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.1;
    pointer-events: none;
}

.solution-card--box1,
.solution-card--box2,
.solution-card--box3,
.solution-card--box4 {
    background-repeat: no-repeat;
}

.solution-card--box1 {
    background-image: url('../assets/images/box 1.svg'), linear-gradient(-220deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.10) 37%, rgba(0, 0, 0, 0.15) 61%, rgba(153, 153, 153, 0.04) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center 36px, center;
    background-size: 272px auto, cover;
    padding-top: 200px;
}

.solution-card--box2 {
    background-image: url('../assets/images/box 2.svg');
    background-repeat: no-repeat;
    background-position: right -250px bottom -280px;
    background-size: 680px;
    background-color: transparent;
}

.solution-card--box2::before,
.solution-card--box2::after {
    content: none;
    display: none;
}

.solution-card--box3 {
    background-image: url('../assets/images/box 3.png'), linear-gradient(-220deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.10) 37%, rgba(0, 0, 0, 0.15) 61%, rgba(153, 153, 153, 0.04) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center 28px, center;
    background-size: 520px auto, cover;
    padding-top: 200px;
}

.solution-card--box4 {
    background-image: url('../assets/images/box 4.png'), linear-gradient(-220deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.20) 37%, rgba(0, 0, 0, 0.30) 61%, rgba(153, 153, 153, 0.08) 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: center 36px, center;
    background-size: 500px auto, cover;
    padding-top: 200px;
}

.solution-card--glow-right::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 320px;
    height: 320px;
    background: radial-gradient(closest-side, rgba(255, 57, 31, 0.45), rgba(255, 57, 31, 0) 70%);
    filter: blur(0.5px);
}

.solution-card--glow-bottom-right::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 320px;
    height: 320px;
    background: radial-gradient(closest-side, rgba(255, 57, 31, 0.45), rgba(255, 57, 31, 0) 70%);
    filter: blur(0.5px);
}



.solution-card--box4::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -350px;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(closest-side, rgba(255, 57, 31, 0.6), rgba(255, 57, 31, 0.3) 40%, rgba(255, 57, 31, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

/* Tablet optimization - 2 columns */
@media (max-width: 1024px) and (min-width: 769px) {
    .solutions__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .solutions__grid .solution-card:nth-child(1),
    .solutions__grid .solution-card:nth-child(2),
    .solutions__grid .solution-card:nth-child(3),
    .solutions__grid .solution-card:nth-child(4) {
        grid-column: auto;
    }

    .solution-card {
        min-height: 320px;
    }

    .solution-card__description {
        padding-right: 40px;
    }

    /* Box 2 optimization for tablet */
    .solution-card--box2 {
        background-position: right -180px bottom -220px;
        background-size: 560px;
    }
}

/* Mobile optimization - single column, cards stacked vertically */
@media (max-width: 768px) {
    .solutions {
        padding: var(--space-3xl) 0;
    }

    .solutions__title {
        text-align: left !important;
        font-size: 35px !important;
        width: 100%;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .about-intro .container {
        padding: 40px 20px !important;
    }

    .about-intro__title {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 40px !important;
    }

    .solutions__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Reset all grid-column spans for mobile */
    .solutions__grid .solution-card:nth-child(1),
    .solutions__grid .solution-card:nth-child(2),
    .solutions__grid .solution-card:nth-child(3),
    .solutions__grid .solution-card:nth-child(4) {
        grid-column: 1 / -1;
    }

    .solution-card {
        min-height: 280px;
        padding: 28px 24px;
    }

    .solution-card__title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .solution-card__description {
        font-size: 15px;
        padding-right: 0;
        max-width: 100%;
    }

    /* Optimize background images for mobile */
    .solution-card--box1 {
        background-size: 200px auto, cover;
        padding-top: 160px;
    }

    .solution-card--box2 {
        background-position: right -200px bottom -200px;
        background-size: 500px;
    }

    .solution-card--box3 {
        background-size: 380px auto, cover;
        padding-top: 160px;
    }

    .solution-card--box4 {
        background-size: 360px auto, cover;
        padding-top: 160px;
    }

    /* Adjust glow effects for mobile */
    .solution-card--glow-right::after,
    .solution-card--glow-bottom-right::after {
        width: 200px;
        height: 200px;
    }
}

/* ============================================
   Legal Pages (Privacy Policy, Terms & Conditions)
   ============================================ */

.legal-page {
    padding: var(--space-xl) 0 var(--space-5xl);
    background-color: transparent;
    min-height: 100vh;
}

.legal-page .container {
    max-width: 900px;
}

.legal-page__content {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: var(--space-4xl) var(--space-3xl);
    color: var(--color-white);
}

.legal-page__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(-200deg, #ffffff 0%, #ffffff1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page__updated {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-4xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-page__section {
    margin-bottom: var(--space-3xl);
}

.legal-page__section h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    margin-top: var(--space-2xl);
}

.legal-page__section h3 {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
}

.legal-page__section p {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.legal-page__section ul {
    list-style: disc;
    margin-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-page__section li {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
}

.legal-page__section a {
    color: #FF391F;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.legal-page__section a:hover {
    color: #e63319;
}

.legal-page__section strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .legal-page__content {
        padding: var(--space-2xl) var(--space-lg);
    }

    .legal-page__section ul {
        margin-left: var(--space-lg);
    }
}

/* Specific fix for 375px-400px screens to keep hero title on 3 lines */
@media (min-width: 375px) and (max-width: 400px) {
    .hero__title {
        font-size: 48px !important;
    }
}

/* ============================================
   Custom Cursor
   ============================================ */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background-color: rgba(20, 20, 20, 0.253);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    z-index: 9999;
    font-family: 'Satoshi', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    box-shadow: 0 8px 32px rgba(255, 57, 31, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-cursor.active {
    opacity: 1;
}

.project-container__visual {
    cursor: none;
    position: relative;
}

.project-container__visual img {
    transition: transform 0.4s ease;
}

.project-container__visual:hover img {
    transform: scale(1.02);
}