:root {
    --about-section-gap: clamp(4rem, 6vw, 7rem);
    --cta-padding-top: 0;
    --cta-padding-bottom: var(--about-section-gap);
}

.about-section-gap {
    width: 100%;
    height: var(--about-section-gap);
    flex-shrink: 0;
}

/* ======================
     ABOUT HERO
    ==================== */

.about-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    background: #05010a;
    overflow: hidden;
    padding-top: var(--hero-padding-top, clamp(6.5rem, 10vw, 9.5rem));
    padding-bottom: 0;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: saturate(0.8) contrast(1.1);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, transparent 0%, #05010a 80%),
        linear-gradient(to right, #05010a 20%, rgba(5, 1, 10, 0.2) 100%);
    z-index: 2;
}

.about-hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    /* Space between text and stats */
    align-items: center;
}

.about-hero-title {
    margin-bottom: 35px;
    color: #fff;
}

.about-hero-para {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
    font-weight: 400;
}

/* Stats */
.about-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 30px;
}

.stat-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.stat-bar {
    width: 2px;
    height: 70px;
    background: linear-gradient(to bottom, var(--purple-light), transparent);
    box-shadow: 0 0 20px rgba(165, 148, 253, 0.5);
    transform-origin: top;
    transform: scaleY(0);
    /* Important for animation */
}

.stat-data h2 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.stat-data p {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 1024px) {

    .about-hero {
        padding-top: var(--hero-padding-top-tablet, clamp(5.5rem, 8.5vw, 7.5rem));
        min-height: auto;
        padding-bottom: 0;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .about-hero-para {
        margin: 0 auto;
    }

    .about-hero-stats {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .about-hero-overlay {
        background: linear-gradient(to bottom, #05010a 30%, rgba(5, 1, 10, 0.6) 100%);
    }

    .about-hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
        letter-spacing: -1px;
        line-height: 1.1;
    }

    .about-hero-para {
        font-size: 16px;
        line-height: 1.6;
    }

    .about-hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px 15px;
    }

    .stat-item {
        justify-content: center;
        text-align: center;
    }

    .stat-bar {
        display: none;
    }

    .stat-data h2 {
        font-size: 32px;
    }

    .stat-data p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {

    .about-hero {
        padding-top: var(--hero-padding-top-mobile, clamp(5rem, 8vw, 6.5rem));
        padding-bottom: 0;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-para {
        font-size: 14px;
    }

    .stat-data h2 {
        font-size: 34px;
    }
}

/* ======================
   MISSION SECTION
====================== */

.mission-section {
    padding: 0;
    background: #05010a;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Layout */
.mission-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
}

/* Text Side */
.mission-text-content {
    flex: 1.2;
}

.mission-display-title {
    text-transform: uppercase;
    margin-bottom: clamp(30px, 5vw, 50px);
}

.mission-para-stack {
    padding-left: 25px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-lead-text {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.4;
    color: #fff;
    font-weight: 500;
    margin-bottom: 30px;
}

.mission-body-text p {
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
}

/* Visual Side */
.mission-visual-content {
    flex: 1;
}

.mission-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    will-change: transform, opacity;
}

.frame-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5;
    pointer-events: none;
}

.mission-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
    display: block;
    transition: transform 0.6s ease;
}

.mission-frame:hover .mission-image {
    transform: scale(1.05);
}

.mission-label-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 6;
}

/* ======================
   TABLET (1024px ↓)
====================== */

@media (max-width: 1024px) {

    .mission-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 70px;
    }

    .mission-text-content,
    .mission-visual-content {
        width: 100%;
    }

    .mission-para-stack {
        border-left: none;
        padding-left: 0;
    }

    .mission-body-text p {
        margin: 0 auto;
    }

    .mission-display-title {
        letter-spacing: -1px;
    }
}

/* ======================
   MOBILE (768px ↓)
====================== */

@media (max-width: 768px) {


    .mission-display-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.1;
    }

    .mission-lead-text {
        font-size: 18px;
        line-height: 1.5;
    }

    .mission-body-text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .mission-frame {
        max-width: 92%;
        margin: 0 auto;
    }

    .mission-label-tag {
        font-size: 9px;
        padding: 6px 14px;
    }
}

/* ======================
   SMALL MOBILE (480px ↓)
====================== */

@media (max-width: 480px) {


    .mission-display-title {
        font-size: 1.8rem;
    }

    .mission-lead-text {
        font-size: 16px;
    }

    .mission-body-text p {
        font-size: 14px;
    }
}

/* ======================
   VALUES MONOLITH SECTION
====================== */

.values-monolith-section {
    padding: 0;
    background: #05010a;
    color: #fff;
}

/* Intro */
.values-intro {
    margin-bottom: clamp(60px, 8vw, 100px);
}

.values-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -2px;
}

/* List Layout */
.monolith-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.monolith-item {
    position: relative;
    width: 100%;
    padding: clamp(25px, 4vw, 50px) clamp(25px, 5vw, 60px);
    background: #05010a;
    border: 1px solid rgba(165, 148, 253, 0.3);
    border-radius: 6px;
    overflow: hidden;
    cursor: default;

    transform-style: preserve-3d;
    will-change: transform;
}

/* Glow Background */
.monolith-bg {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at center,
            rgba(165, 148, 253, 0.15) 0%,
            transparent 70%);
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

/* Content Layout */
.monolith-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Left */
.m-left {
    flex: 1;
}

.m-number {
    font-size: 12px;
    font-weight: 800;
    color: var(--purple-light);
    letter-spacing: 4px;
    display: block;
    margin-bottom: 20px;
    opacity: 0.6;
}

.m-title {
    font-size: clamp(1.8rem, 3.5vw, 42px);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    /* letter-spacing: -2px; */
    word-spacing: 2.5px;
    color: #fff;
    display: inline-block;
    background: linear-gradient(to right, #fff, var(--purple-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Right */
.m-right {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.m-right p {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.6;
    color: #fff;
}

.m-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 12px;
    border: 1px solid var(--purple-light);
    width: max-content;
    border-radius: 100px;
    color: var(--purple-light);
}

/* ======================
   TABLET (1024px ↓)
====================== */
@media (max-width: 1024px) {
    .values-intro {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .values-title {
        text-align: center;
        line-height: 1.1;
    }

    .monolith-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .m-left,
    .m-right {
        width: 100%;
    }

    .m-title {
        font-size: clamp(2rem, 6vw, 48px);
    }

    .monolith-item {
        padding: 50px 30px;
    }
}

/* ======================
   MOBILE (768px ↓)
====================== */
@media (max-width: 768px) {

    .values-title {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: -1px;
    }

    .values-intro {
        margin-bottom: 60px;
    }

    .monolith-content {
        text-align: center;
        align-items: center;
    }

    .m-right {
        align-items: center;
        text-align: center;
    }

    .m-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);

    }

    .m-right p {
        font-size: 15px;
    }

    .monolith-item {
        padding: 40px 20px;
    }
}

/* ======================
   SMALL MOBILE (480px ↓)
====================== */
@media (max-width: 480px) {}

/* ======================
   PHILOSOPHY SECTION
====================== */

.philosophy-section {
    padding: 0;
    background: #05010a;
    position: relative;
    z-index: 5;
}

/* Layout */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
}

/* Titles */
.philo-main-title {
    margin-bottom: clamp(40px, 5vw, 60px);
    color: #fff;
}

.philo-main-title i {
    font-family: serif;
    font-style: italic;
    font-weight: 400;
    opacity: 0.6;
}

/* List */
.philo-list {
    display: flex;
    flex-direction: column;
}

.philo-item {
    padding: clamp(25px, 4vw, 40px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: padding-left 0.4s ease, border-color 0.4s ease;
    min-height: 100px;
}

.do-side .philo-item {
    border-bottom: 1px solid rgba(165, 148, 253, 0.5);
}


.philo-item:empty {
    display: none;
}

.philo-item h3 {
    margin-bottom: 12px;
    color: #fff;
}

.philo-item h3 span {
    font-weight: 400;
    opacity: 0.5;
}

.philo-item p {
    font-size: clamp(14px, 1.2vw, 16px);
    color: #777;
    line-height: 1.6;
    max-width: 480px;
}

/* Accent */
.purple-accent {
    color: var(--purple-light) !important;
}

/* ======================
   TABLET (1024px ↓)
====================== */

@media (max-width: 1024px) {

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .philo-main-title {
        text-align: center;
    }

    .philo-list {
        max-width: 700px;
        margin: 0 auto;
    }

    .philo-item p {
        max-width: 100%;
    }

    /* Remove vertical offset on stacked layout */
    .do-side .philo-list {
        transform: none;
    }
}

/* ======================
   MOBILE (768px ↓)
====================== */

@media (max-width: 768px) {


    .philo-main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        text-align: center;
    }

    .philo-list {
        max-width: 100%;
    }

    .philo-item {
        padding: 25px 0;
    }

    .philo-item h3 {
        font-size: 18px;
    }

    .philo-item p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* ======================
   SMALL MOBILE (480px ↓)
====================== */

@media (max-width: 480px) {


    .philo-main-title {
        font-size: 1.6rem;
    }

    .philo-item h3 {
        font-size: 16px;
    }

    .philo-item p {
        font-size: 13px;
    }
}

/* ======================
   GLOBAL PRESENCE SECTION
====================== */

.global-presence-section {
    padding: 0;
    background: #05010a;
    position: relative;
    overflow: hidden;
}

.global-presence-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.global-title {
    margin: 25px 0;
    color: #fff;
}

.global-text {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin-bottom: 40px;
}

.global-locations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px;
    border: 1px solid rgba(165, 148, 253, 0.15);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    transition: all 0.3s ease;
}

.location-card:hover,
.location-card.active {
    border-color: rgba(165, 148, 253, 0.45);
    background: rgba(165, 148, 253, 0.06);
    box-shadow: 0 8px 24px rgba(165, 148, 253, 0.12);
    transform: translateY(-3px);
}

.location-flag {
    font-size: 28px;
}

.location-flag {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.location-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-card h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}

.location-card p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

/* RIGHT VISUAL */
.global-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #05010a;

    width: 100%;
    max-width: 100%;
    margin-left: auto;
}

/* ============================================================
   GLOBAL REPRESENTATIVE IMAGE
============================================================ */

.global-image-stack {
    position: relative;

    width: 100%;
    height: 520px;

    overflow: hidden;
}


/* Both images occupy exactly the same space */

.global-person-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

    display: block;

    will-change: opacity, transform;
}


/* Current image */

.global-person-image.image-current {
    z-index: 1;

    opacity: 1;
}


/* Incoming image */

.global-person-image.image-next {
    z-index: 2;

    opacity: 0;
}


/* ============================================================
   REPRESENTATIVE CONTENT
============================================================ */

.global-person-info {
    position: absolute;

    bottom: 30px;
    left: 30px;

    z-index: 10;

    pointer-events: none;
}


/* Smooth content transition */

.global-person-name,
.global-person-role {
    will-change: opacity, transform;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1024px) {

    .global-image-stack {
        height: 460px;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 768px) {

    .global-image-stack {
        height: 420px;
    }
}


@media (max-width: 480px) {

    .global-image-stack {
        height: 360px;
    }
}

.global-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.65) 18%,
            rgba(0, 0, 0, 0.25) 38%,
            rgba(0, 0, 0, 0) 58%);
}

.global-person-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 10;
    pointer-events: none;
}

.global-person-info h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.global-person-info p {
    color: var(--color-primary-soft);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}


/* ======================
   TABLET
====================== */

@media (max-width: 1024px) {

    .global-presence-grid {
        grid-template-columns: 1fr 0.9fr;
        gap: 50px;
        align-items: center;
    }

    .global-title {
        font-size: clamp(2.4rem, 5vw, 3.4rem);
    }

    .global-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .location-card {
        padding: 18px;
    }

    .global-card {
        width: 100%;
        max-width: 100%;
    }

    .global-person-image {
        height: 460px;
    }
}

/* ======================
   MOBILE
====================== */

@media (max-width: 768px) {

    .global-presence-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .global-presence-content {
        text-align: center;
    }

    .global-text {
        margin-left: auto;
        margin-right: auto;
    }

    .global-locations {
        max-width: 520px;
        margin: 0 auto;
    }

    .global-card {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .global-person-image {
        height: 420px;
    }

    .global-person-info h3 {
        font-size: 20px;
    }
}

/* ======================
   MOBILE
====================== */

@media (max-width: 768px) {


    .global-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.1;
    }

    .location-card {
        padding: 18px;
        text-align: left;
    }
}

@media (max-width: 480px) {


    .global-title {
        font-size: 2rem;
    }

    .location-card {
        padding: 16px;
        gap: 14px;
    }

    .location-card h3 {
        font-size: 16px;
    }

    .location-card p {
        font-size: 13px;
    }

    .global-card {
        width: 100%;
        max-width: 100%;
    }

    .global-person-image {
        height: 360px;
    }
}

/* ==========================================
   ABOUT TESTIMONIALS SLIDER SECTION
========================================== */

.about-testimonials-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: nowrap;
    /* Controls stay on the right even on tablet/mobile */
}

.testimonials-header-text {
    flex: 1;
    min-width: 0;
}

.testimonials-title {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #ffffff;
    margin-top: 8px;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-left: auto;
    /* Always flush right */
}

.testimonial-nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(165, 148, 253, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    flex-shrink: 0;
}

.testimonial-nav-btn:hover {
    background: rgba(165, 148, 253, 0.18);
    border-color: var(--purple-light);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(165, 148, 253, 0.3);
}

.testimonial-nav-btn:active {
    transform: translateY(-1px) scale(0.96);
}

.testimonial-nav-btn:focus-visible {
    outline: 2px solid var(--purple-light);
    outline-offset: 3px;
}

.testimonials-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 28px;
    padding: 8px 0;
    margin: -8px 0;
    touch-action: pan-y;
    user-select: none;
}

.testimonials-track {
    display: flex;
    width: 100%;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.testimonial-card-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    padding: 0;
    box-sizing: border-box;
    opacity: 0.4;
    transform: scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card-inner {
    position: relative;
    z-index: 2;
    background: rgba(15, 8, 28, 0.65);
    border: 1px solid rgba(165, 148, 253, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 26px;
    padding: 28px 32px 24px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    min-height: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
}

.testimonial-card-slide:hover .testimonial-card-inner {
    border-color: rgba(165, 148, 253, 0.35);
    box-shadow: 0 25px 60px rgba(165, 148, 253, 0.12), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-glow-bg {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: radial-gradient(circle at 10% 20%, rgba(165, 148, 253, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    width: 100%;
    flex-shrink: 0;
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    line-height: 1;
    vertical-align: middle;
}

.star-rating svg {
    display: block;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.project-tag-badge {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 12px;
    font-weight: 700;
    color: var(--purple-light);
    background: rgba(165, 148, 253, 0.12);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(165, 148, 253, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0;
}

.card-body-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    margin: 4px 0 10px 0;
    position: relative;
}

.quote-mark-icon {
    font-size: 60px;
    font-family: Georgia, "Times New Roman", serif;
    color: rgba(165, 148, 253, 0.2);
    line-height: 0.5;
    height: 20px;
    margin-bottom: 6px;
    user-select: none;
    pointer-events: none;
    flex-shrink: 0;
}

.testimonial-quote-text {
    font-size: clamp(1.1rem, 2.1vw, 1.4rem);
    line-height: 1.6;
    font-weight: 500;
    color: #e2e8f0;
    margin: 0;
    letter-spacing: -0.2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

/* Compact Author Section to Give Quote Maximum Space */
.testimonial-author-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.author-avatar-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(165, 148, 253, 0.4);
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(165, 148, 253, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(165, 148, 253, 0.25);
    box-sizing: border-box;
    padding: 4px;
}

.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 50%;
}

.author-avatar-initials {
    font-size: 15px;
    font-weight: 800;
    color: var(--purple-light);
    letter-spacing: 1px;
}

.author-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.author-role {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
}

.author-company {
    color: var(--purple-light);
    font-weight: 600;
}

.testimonials-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    outline: none;
}

.pagination-dot:hover {
    background: rgba(165, 148, 253, 0.6);
}

.pagination-dot.active {
    width: 36px;
    background: var(--purple-light);
    box-shadow: 0 0 15px rgba(165, 148, 253, 0.6);
}

.pagination-dot:focus-visible {
    outline: 2px solid var(--purple-light);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .testimonials-header {
        flex-direction: row;
        /* Keep buttons on the right even on mobile */
        justify-content: space-between;
        align-items: flex-end;
        gap: 16px;
        margin-bottom: 24px;
    }

    .testimonials-controls {
        margin-left: auto;
    }

    .testimonial-nav-btn {
        width: 44px;
        height: 44px;
    }

    .testimonial-card-inner {
        height: 360px;
        /* Fixed block height for mobile */
        padding: 20px 18px 16px;
        border-radius: 20px;
    }

    .author-avatar-wrapper {
        width: 40px;
        height: 40px;
    }

    .author-name {
        font-size: 15px;
    }

    .author-role {
        font-size: 12px;
    }
}