
.section-header h2{ font-size:40px; font-weight:600; margin-bottom:20px; color:#000}
.section-header p{font-size:16px; font-weight:400; line-height:28px; color:#0F0D0D; margin-top:20px; text-align:center}

.testimonials-section {
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.testimonials-section header h2 {
    text-align: center;
    margin: 0 auto;
}

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

    @media (max-width: 1024px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

.testimonials-column:nth-child(even) {
    flex-direction: column-reverse;
}

.testimonials-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-video {
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    overflow: hidden;
    position: relative;
    filter: grayscale();
    aspect-ratio: 2/3;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: filter 0.3s ease-in-out;
    flex-shrink: 0;

    @media (max-width: 1024px) {
        justify-content: end;
    }
}

.testimonial-video:hover {
    filter: grayscale(0);
}

.testimonial-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 90%);
    pointer-events: none;
    border-radius: 1rem 1rem 0 0;

    @media (max-width: 1024px) {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 90%);
    }
}

.testimonial-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    flex: 1;
    background-color: white;
    color: var(--color-muted-foreground);
    padding: 1.5rem;
    font-size: 0.875rem;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote > div, .testimonial-video > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
    position: relative;

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: start;
    }
}

.testimonial-video .testimonial-details h3 {
    color: white;
}

.testimonial-video .testimonial-details p {
    color: var(--color-muted);
}

.testimonial-text {
    margin-bottom: 1rem;
    line-height: 1.625;
}

.testimonial-image-container {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

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

.testimonial-highlight {
 color:#fff;
 background-color: #FF4800;
}

.testimonial-details h3 {
    font-size: 0.875rem;
    color: var(--color-foreground);
    font-weight: 500;

    @media (max-width: 1024px) {
        font-size: 0.75rem;
    }
}

.testimonial-details p {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);

    @media (max-width: 1024px) {
        font-size: 0.625rem;
    }
}





.hero-section {
    /* height: calc(100svh - var(--header-height) - 1rem); */
    margin: 0 1rem 1rem 1rem;
    border-radius: 1rem;
    background: var(--background-gradient);
    padding-top: 4rem;
    padding-bottom: 4rem;
    color: white;
    position: relative;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

h1 {
    margin-bottom: 0.5rem;
}

.sub-h1 {
    color: var(--color-muted);
    font-weight: 300;
    letter-spacing: -0.025em;
    margin-top: -1rem;
}

@media (max-width: 768px) {
    .sub-h1 {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
}

.hero-section .container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    height: 100%;
    gap: 1rem
}

.hero-section .container > div:nth-child(1) {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 8rem;

    @media (max-width: 1024px) {
        grid-column: span 12;
        gap: 0;
    }
}

.hero-section .container > div:nth-child(1) a {
    width: fit-content;
}

.hero-section .container > div:nth-child(2) {
    grid-column: span 4;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;

    @media (max-width: 1024px) {
        display: none;
    }
}

.hero-main-content {
    width: 100%;
}

.hero-badge {
    max-width: 100%;
    position: relative;
    font-size: 0.75rem;
    border-radius: 2rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    height: 32px;
    padding-right: 1rem;
    padding-left: 4.5rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;

    @media (max-width: 768px) {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .md-only {
        display: none;
    }
}

.hero-badge > span:first-of-type {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0.25rem;
    border-radius: 2rem;
    font-weight: 500;
    background-color: var(--color-background);
    color: var(--color-foreground);
    padding: 0 0.5rem;
}

.hero-badge > span:first-of-type > span {
    background: var(--background-gradient); 
    -webkit-background-clip: text;        
    -webkit-text-fill-color: transparent;  
    background-clip: text;                  
    color: transparent; 
}

.hero-description {
    color: #f3f4f6;
    max-width: 576px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.625;
    font-weight: 300;

    @media (max-width: 1024px) {
        font-size: 1rem;
    }
}

.hero-testimonial {
    width: 80%;
}

.hero-testimonials-container {
    margin-top: 2rem;
}

.hero-testimonials-container > div:nth-child(even) {
    margin-left: auto;
}

.hero-testimonials-container > div:last-child {
    @media (max-width: 1280px) {
        display: none;
    }
}

/* Hide desktop testimonials on mobile */
.hero-testimonials-container {
    @media (max-width: 1024px) {
        display: none;
    }
}

/* Mobile Testimonials Carousel */
.hero-mobile-testimonials {
    display: block;
    margin: 2rem 0;
    overflow: hidden;
    
    @media (min-width: 1025px) {
        display: none;
    }
}

.mobile-testimonials-track {
    display: flex;
    animation: infiniteScroll 16s linear infinite;
}

.hero-mobile-testimonials .hero-testimonial {
    min-width: 300px;
    flex-shrink: 0;
    margin-right: 1rem;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-316px * 3));
    }
}

.hero-mobile-testimonials .testimonial-text {
    font-size: 0.75rem;
    line-height: 1.4;
    text-wrap: balance;
}

.hero-mobile-testimonials .testimonial-details h3 {
    font-size: 0.6875rem;
    margin: 0;
}

.hero-mobile-testimonials .testimonial-details p {
    font-size: 0.625rem;
    margin: 0;
}

.hero-mobile-testimonials .testimonial-image-container {
    width: 24px;
    height: 24px;
}

/* Pause animation on hover */
.hero-mobile-testimonials:hover .mobile-testimonials-track {
    animation-play-state: paused;
}

.partners-section {
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.partners-section h2 {
    text-align: center;
    margin: 0 auto;
}

.partners-carousel {
    max-width: 672px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    position: relative;
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
    display: flex;
    animation: scroll-infinite 20s linear infinite;
    width: calc(200%);
    will-change: transform;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    aspect-ratio: 5/4;
    overflow: hidden;
    position: relative;
    opacity: 0.6;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 5));
    }
}

.specialties-section {
    background-color: var(--color-foreground);
    border-radius: 1rem;
    margin: 1rem;
    color: white;
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.specialties-section h2 {
    text-align: center;
    margin: 0 auto;
}

.specialties-list li {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--color-muted);
}

.specialties-list li:last-child {
    border-bottom: 1px solid var(--color-muted);
}

.specialties-list li .hover-bg {
    position: absolute;
    inset: 0;
    background-color: white;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.specialties-list li:hover .hover-bg {
    transform: translateY(0);
}

.specialties-list li:hover .hover-bg {
    opacity: 1;
}

.specialties-list li a {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    display: block;
    mix-blend-mode: exclusion;
}

.specialties-list li a h3 {
    font-weight: 400;
    color: var(--color-muted);
    font-size: 2.25rem;
    letter-spacing: -0.025em;
}

@media (max-width: 768px) {
    .specialties-list li a h3 {
        font-size: 1.5rem;
    }
}


.about-section {
    padding: var(--section-padding-sm);
}

.view-all-specialties-link {
    margin: 4rem auto 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    letter-spacing: 0.025em;
}

.view-all-specialties-link svg {
    width: 16px;
    height: 16px;
}

.about-section p {
    line-height: 1.625;
    letter-spacing: -0.025em;
    font-size: 3rem;
    text-wrap: balance;

    @media (max-width: 1024px) {
        font-size: 1.5rem;
    }
}

.about-section .letter {
    will-change: opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.services-section {
    background-color: var(--color-foreground);
    border-radius: 1rem;
    margin: 1rem;
    color: white;
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.services-section h2 {
    text-align: center;
    margin: 0 auto;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1024px;

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: center;
    }
}

.services-container > div {
    flex: 1;
    background-color: var(--color-background);
    color: var(--color-foreground);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    will-change: transform, opacity;
    max-width: 400px;

    @media (max-width: 1024px) {
        padding: 2rem;
    }
}

.services-container > div:nth-child(2) {
    z-index: 1;
}

.services-container > div h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
}

.services-container > div p {
    margin-bottom: 2rem;
    line-height: 1.625;
    letter-spacing: -0.025em;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.service-link {
    margin-top: auto;
}

.view-all-services-link {
    margin: 4rem auto 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    letter-spacing: 0.025em;
}

.view-all-services-link svg {
    width: 16px;
    height: 16px;
}

.testimonials-section {
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.testimonials-section header h2 {
    text-align: center;
    margin: 0 auto;
}

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

    @media (max-width: 1024px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

.testimonials-column:nth-child(even) {
    flex-direction: column-reverse;
}

.testimonials-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-video {
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    overflow: hidden;
    position: relative;
    filter: grayscale();
    aspect-ratio: 2/3;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: filter 0.3s ease-in-out;
    flex-shrink: 0;

    @media (max-width: 1024px) {
        justify-content: end;
    }
}

.testimonial-video:hover {
    filter: grayscale(0);
}

.testimonial-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 90%);
    pointer-events: none;
    border-radius: 1rem 1rem 0 0;

    @media (max-width: 1024px) {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 90%);
    }
}

.testimonial-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    flex: 1;
    background-color: white;
    color: var(--color-muted-foreground);
    padding: 1.5rem;
    font-size: 0.875rem;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote > div, .testimonial-video > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
    position: relative;

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: start;
    }
}

.testimonial-video .testimonial-details h3 {
    color: white;
}

.testimonial-video .testimonial-details p {
    color: var(--color-muted);
}

.testimonial-text {
    margin-bottom: 1rem;
    line-height: 1.625;
}

.testimonial-image-container {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

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

.testimonial-highlight {
    background-color: var(--color-accent);
    color: var(--color-foreground)
}

.testimonial-details h3 {
    font-size: 0.875rem;
    color: var(--color-foreground);
    font-weight: 500;

    @media (max-width: 1024px) {
        font-size: 0.75rem;
    }
}

.testimonial-details p {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);

    @media (max-width: 1024px) {
        font-size: 0.625rem;
    }
}

.process-section {
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.process-section .section-badge {
    margin-left: 0;
    margin-right: 0;
}

.process-container {
    display: flex;
    position: relative;
    height: 300svh;
}

.progress-bar-container {
    position: sticky;
    top: var(--header-height);
    height: calc(100svh - var(--header-height));
    padding: 4rem 0;
}

.progress-bar {
    height: 100%;
    width: 0.5rem;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--color-muted);
    z-index: -2;
}

.progress {
    height: 100%;
    width: 100%;
    background: var(--background-gradient);
    will-change: transform;
    transform-origin: top center;
}

.progress-circle {
    position: absolute;
    top: 3.5rem;
    left: -150%;
    width: 2rem;
    aspect-ratio: 1 / 1;
    background: var(--background-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.progress-circle > span {
    width: 200%;
    height: 200%;
    background-color: var(--color-accent);
    opacity: 0.1;
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.progress-circle svg {
    height: 16px;
    width: 16px;
    color: white;
}

.process-steps {
    flex: 1;
    position: sticky;
    top: var(--header-height);
    height: calc(100svh - var(--header-height));
    padding: 4rem 0 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;

    @media (max-width: 768px) {
        padding: 4rem 0 4rem 1rem;
    }
}

.process-steps > li {
    font-size: 4.5rem;
    opacity: 0;
    line-height: 1;
    display: flex;
    gap: 4rem;
    align-items: center;
    transition: opacity 0.3s ease-out;
    color: var(--color-foreground);
    will-change: opacity;

    @media (max-width: 768px) {
        font-size: 1.5rem;
        gap: 2rem;
    }
}

.step-number {
    font-family: "Instrument Serif", serif;
    font-style: italic;
}

.metrics-section {
    background-color: var(--color-foreground);
    border-radius: 1rem;
    margin: 1rem;
    color: white;
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.metrics-section .section-header h2 {
    margin: 0 auto;
    text-align: center;
    max-width: 672px;
}

.metrics-container {
    display: flex;
    justify-content: center;
    gap: 8rem;

    @media (max-width: 1024px) {
        flex-direction: column;
        gap: 4rem;
    }
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 50px;

    @media (max-width: 768px) {
        margin-top: 0;
    }
}

.metric-label {
    font-weight: 300;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.metric-value {
    letter-spacing: -0.025em;
    font-size: 4.5rem;
    color: var(--color-muted);
    line-height: 1;
    opacity: 0.6;
    
}