/* ================================================================
   STEAM PROGRAMME PAGE - Ultra Modern Tech-Forward Design
   Pragati Academy | Poppins | Crimson #980D1A + Gold #B09845
   ================================================================ */

/* ── Reveal System ── */
.reveal {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal[data-reveal="fade-up"], .reveal:not([data-reveal]) { transform: translateY(50px); }
.reveal[data-reveal="fade-down"] { transform: translateY(-50px); }
.reveal[data-reveal="fade-left"] { transform: translateX(60px); }
.reveal[data-reveal="fade-right"] { transform: translateX(-60px); }
.reveal[data-reveal="zoom-in"] { transform: scale(0.88); }
.reveal[data-reveal="fade"] { transform: none; }
.reveal.is-visible { opacity: 1; transform: translateY(0) translateX(0) scale(1); }

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes stm-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}
@keyframes stm-fadeIn { to { opacity: 1; } }
@keyframes stm-slideInLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes stm-fadeSlideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes stm-eyebrow { 0% { width: 0; } 100% { width: 30px; } }
@keyframes stm-kenBurns {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.12) translate(-2%, -1%); }
}
@keyframes stm-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes stm-pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.8); opacity: 0; }
}
@keyframes stm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes stm-line-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
@keyframes stm-grid-pulse {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.06; }
}

/* ================================================================
   SECTION 1: HERO
   ================================================================ */
.stm-hero {
    position: relative;
    overflow: hidden;
    background: #fff;
    min-height: 540px;
}

.stm-hero__grid {
    display: flex;
    height: 640px;
}

.stm-hero__text-col {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    padding: 80px 56px 80px max(calc((100vw - var(--main-container)) / 2 + 24px), 24px);
    background: #fff;
    position: relative;
}

.stm-hero__text-col::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(176, 152, 69, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.stm-hero__text-inner { max-width: 540px; }

.stm-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body-font);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--theme-color);
    margin-bottom: 18px;
    opacity: 0;
    animation: stm-fadeIn 0.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stm-hero__eyebrow-line {
    width: 0; height: 2px;
    background: var(--theme-color);
    border-radius: 2px;
    animation: stm-eyebrow 0.6s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stm-hero__title {
    font-family: var(--title-font);
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 800;
    color: var(--title-color);
    line-height: 1.12;
    margin-bottom: 14px;
    opacity: 0;
    transform: translateX(-30px);
    animation: stm-slideInLeft 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stm-hero__title em {
    font-style: normal;
    color: var(--theme-color);
    position: relative;
}

.stm-hero__title em::after {
    content: '';
    position: absolute;
    left: 0; bottom: 2px;
    width: 100%; height: 8px;
    background: rgba(176, 152, 69, 0.15);
    border-radius: 4px;
    z-index: -1;
}

.stm-hero__desc {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.85;
    color: #444;
    margin-bottom: 24px;
    padding-left: 14px;
    border-left: 3px solid var(--theme-color);
    opacity: 0;
    transform: translateY(20px);
    animation: stm-fadeSlideUp 0.7s 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stm-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    opacity: 0;
    animation: stm-fadeIn 0.6s 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stm-hero__btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    background: var(--theme-color);
    color: #fff;
    border-radius: 50px;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 24px rgba(152, 13, 26, 0.2);
}

.stm-hero__btn-primary:hover {
    background: #6d0813;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(152, 13, 26, 0.3);
}

.stm-hero__btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    background: transparent;
    color: var(--title-color);
    border: 2px solid #e0ddd5;
    border-radius: 50px;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s ease;
}

.stm-hero__btn-outline:hover {
    border-color: var(--theme-color2);
    color: var(--theme-color2);
    transform: translateY(-2px);
}

.stm-hero__breadcrumb {
    display: flex;
    gap: 8px;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 500;
    color: #999;
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    animation: stm-fadeIn 0.5s 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stm-hero__breadcrumb a { color: var(--theme-color); text-decoration: none; }
.stm-hero__breadcrumb li + li::before { content: '/'; margin-right: 8px; color: #ccc; }

/* Hero Image */
.stm-hero__image-col {
    flex: 1;
    position: relative;
    overflow: hidden;
    clip-path: polygon(7% 0%, 100% 0%, 100% 100%, 0% 100%);
    background: #111;
}

.stm-hero__slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    object-fit: cover !important;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: block;
    max-width: none; max-height: none;
    width: 100% !important; height: 100% !important;
}

.stm-hero__slide--active {
    opacity: 1;
    animation: stm-kenBurns 8s ease-out forwards;
}

.stm-hero__image-accent {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, transparent 30%, rgba(0,0,0,0.35) 100%),
        linear-gradient(135deg, rgba(152,13,26,0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.stm-hero__image-col::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-color), var(--theme-color2), var(--theme-color));
    background-size: 200% 100%;
    animation: stm-shimmer 3s linear infinite;
    z-index: 3;
}

/* ================================================================
   SECTION 2: MARQUEE STRIP
   ================================================================ */
.stm-marquee {
    background: linear-gradient(135deg, #0f0f12, #1a1a24);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}

.stm-marquee__track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: stm-marquee 20s linear infinite;
    width: max-content;
}

.stm-marquee__item {
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.stm-marquee__item i {
    font-size: 14px;
    color: var(--theme-color2);
    opacity: 0.6;
}

/* ================================================================
   SECTION 3: INTRO STATEMENT
   ================================================================ */
.stm-intro {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(180deg, #fafaf8 0%, #fff 100%);
}

.stm-intro__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stm-intro__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--theme-color2);
    background: rgba(176, 152, 69, 0.08);
    margin: 0 auto 28px;
    position: relative;
}

.stm-intro__icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(176, 152, 69, 0.12);
    animation: stm-pulse-ring 2.5s ease-out infinite;
}

.stm-intro__text {
    font-family: var(--title-font);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 600;
    color: var(--title-color);
    line-height: 1.65;
    margin: 0;
}

.stm-intro__text strong {
    color: var(--theme-color);
    font-weight: 800;
}

/* ================================================================
   SECTION 4: KEY COMPONENTS GRID
   ================================================================ */
.stm-components {
    position: relative;
    padding: 110px 0;
    background: #fff;
    overflow: hidden;
}

.stm-components::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0ddd5, transparent);
}

.stm-components__subtitle {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 500;
    color: #666;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.stm-components__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

/* Component Card — Illustration style */
.stm-comp-card {
    position: relative;
    background: #fff;
    border: 1px solid #f0ede4;
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: default;
    display: flex;
    flex-direction: column;
}

.stm-comp-card:hover {
    border-color: rgba(176, 152, 69, 0.2);
    box-shadow: 0 28px 70px rgba(0,0,0,0.08);
    transform: translateY(-8px);
}

/* Image area — full illustration, white bg */
.stm-comp-card__img {
    position: relative;
    background: #fff;
    padding: 24px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
    border-bottom: 1px solid #f0ede4;
}

.stm-comp-card__img img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stm-comp-card:hover .stm-comp-card__img img {
    transform: scale(1.06);
}

/* Remove the dark overlay — not needed for illustrations */
.stm-comp-card__img-overlay {
    display: none;
}

/* Number badge */
.stm-comp-card__num {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: var(--title-font);
    font-size: 12px;
    font-weight: 800;
    color: var(--theme-color);
    background: #fff;
    border: 1px solid #eae7dc;
    padding: 5px 13px;
    border-radius: 20px;
    letter-spacing: 1px;
    z-index: 2;
    transition: all 0.35s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stm-comp-card:hover .stm-comp-card__num {
    background: var(--theme-color);
    color: #fff;
    border-color: var(--theme-color);
    box-shadow: 0 4px 14px rgba(152, 13, 26, 0.2);
}

/* Icon — sits inside body, not floating across the border */
.stm-comp-card__icon {
    position: static;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-color), #6d0813);
    box-shadow: 0 6px 18px rgba(152, 13, 26, 0.2);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stm-comp-card:hover .stm-comp-card__icon {
    transform: rotate(6deg) scale(1.08);
    box-shadow: 0 10px 24px rgba(152, 13, 26, 0.3);
}

/* Body */
.stm-comp-card__body {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stm-comp-card__body .stm-comp-card__icon {
    margin-bottom: 18px;
}

.stm-comp-card__title {
    font-family: var(--title-font);
    font-size: 19px;
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: 10px;
}

.stm-comp-card__text {
    font-family: var(--body-font);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.75;
    color: #666;
    margin-bottom: 18px;
    flex: 1;
}

.stm-comp-card__line {
    width: 40px;
    height: 3px;
    background: var(--theme-color2);
    border-radius: 2px;
    opacity: 0.35;
    transition: all 0.4s ease;
}

.stm-comp-card:hover .stm-comp-card__line {
    width: 80px;
    opacity: 1;
}

/* ================================================================
   SECTION 5: FEATURE DEEP-DIVES (Alternating)
   ================================================================ */
.stm-features {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #fafaf8 0%, #fff 50%, #fafaf8 100%);
    overflow: hidden;
}

.stm-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 100px;
}

.stm-feature:last-child { margin-bottom: 0; }

.stm-feature--reverse { direction: rtl; }
.stm-feature--reverse > * { direction: ltr; }

/* Image */
.stm-feature__img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}

.stm-feature__img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.stm-feature:hover .stm-feature__img-wrap img {
    transform: scale(1.04);
}

.stm-feature__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(152, 13, 26, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.stm-feature__img-badge {
    position: absolute;
    top: 20px; right: 20px;
    width: 52px; height: 52px;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--theme-color);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    z-index: 2;
    transition: all 0.4s ease;
}

.stm-feature:hover .stm-feature__img-badge {
    background: var(--theme-color);
    color: #fff;
    transform: rotate(8deg) scale(1.05);
    box-shadow: 0 8px 24px rgba(152, 13, 26, 0.25);
}

/* Content */
.stm-feature__label {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(176, 152, 69, 0.08);
    border: 1px solid rgba(176, 152, 69, 0.15);
    border-radius: 20px;
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--theme-color2);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.stm-feature__title {
    font-family: var(--title-font);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: 18px;
    line-height: 1.25;
}

.stm-feature__desc {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.85;
    color: #555;
    margin-bottom: 24px;
}

.stm-feature__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stm-feature__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
}

.stm-feature__list li i {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-color2), #8a7530);
    margin-top: 1px;
}

/* ================================================================
   SECTION 6: STATS
   ================================================================ */
.stm-stats {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f12 0%, #1a1a24 50%, #0d0d10 100%);
    overflow: hidden;
}

.stm-stats__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: stm-grid-pulse 6s ease-in-out infinite;
    pointer-events: none;
}

.stm-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stm-stat {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stm-stat:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(176, 152, 69, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.stm-stat__number {
    font-family: var(--title-font);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
}

.stm-stat__number sup {
    font-size: 0.4em;
    vertical-align: super;
    color: var(--theme-color2);
}

.stm-stat__suffix {
    color: var(--theme-color2);
    font-size: 0.7em;
}

.stm-stat__label {
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ================================================================
   SECTION 7: STEAM PILLARS
   ================================================================ */
.stm-pillars {
    position: relative;
    padding: 110px 0;
    background: #fff;
    overflow: hidden;
}

.stm-pillars::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0ddd5, transparent);
}

.stm-pillars__row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stm-pillar-card {
    text-align: center;
    padding: 44px 20px 36px;
    border-radius: 20px;
    border: 1px solid #f0ede4;
    background: #fff;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.stm-pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--theme-color2);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stm-pillar-card:hover::after {
    transform: scaleX(1);
}

.stm-pillar-card:hover {
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(0,0,0,0.07);
    transform: translateY(-8px);
}

.stm-pillar-card__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #888;
    background: #f8f7f3;
    margin: 0 auto 18px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stm-pillar-card__letter {
    font-family: var(--title-font);
    font-size: 48px;
    font-weight: 900;
    color: rgba(0,0,0,0.04);
    line-height: 1;
    margin-bottom: 4px;
    transition: color 0.4s ease;
}

.stm-pillar-card:hover .stm-pillar-card__letter {
    color: rgba(0,0,0,0.08);
}

.stm-pillar-card__name {
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 10px;
}

.stm-pillar-card__desc {
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
    color: #888;
    margin: 0;
}

/* ================================================================
   SECTION 8: TESTIMONIALS
   ================================================================ */
.stm-testi {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(180deg, #fafaf8 0%, #fff 100%);
    overflow: hidden;
}

.stm-testi::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0ddd5, transparent);
}

.stm-testi__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: center;
}

/* Left column */
.stm-testi__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--body-font);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--theme-color2);
    margin-bottom: 16px;
}

.stm-testi__eyebrow-line {
    display: inline-block;
    width: 30px; height: 2px;
    background: var(--theme-color2);
}

.stm-testi__heading {
    font-family: var(--title-font);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: var(--title-color);
    margin-bottom: 18px;
    line-height: 1.2;
}

.stm-testi__heading em {
    font-style: normal;
    color: var(--theme-color);
}

.stm-testi__subtext {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: #666;
    margin-bottom: 32px;
}

/* Custom arrow buttons */
.stm-testi__nav {
    display: flex;
    gap: 12px;
}

.stm-testi__arrow {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 2px solid #e0ddd5;
    background: #fff;
    color: var(--title-color);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.stm-testi__arrow:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(152, 13, 26, 0.2);
}

/* Slider container */
.stm-testi__right {
    min-width: 0;
}

/* Testimonial Card */
.stm-testi-card {
    background: #fff;
    border: 1px solid #f0ede4;
    border-radius: 24px;
    padding: 44px 40px 40px;
    position: relative;
    transition: box-shadow 0.4s ease;
    margin: 6px;
}

.stm-testi-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.stm-testi-card__quote {
    position: absolute;
    top: -1px; left: 36px;
    width: 48px; height: 48px;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(135deg, var(--theme-color), #6d0813);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(152, 13, 26, 0.2);
}

.stm-testi-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.stm-testi-card__stars i {
    color: #f5b731;
    font-size: 14px;
}

.stm-testi-card__text {
    font-family: var(--body-font);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.85;
    color: #444;
    margin-bottom: 28px;
    font-style: italic;
}

.stm-testi-card__author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #f4f3ef;
}

.stm-testi-card__name {
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 2px;
}

.stm-testi-card__role {
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--theme-color2);
}

/* Slider dots */
.stm-testi__dots {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 28px;
    padding: 0;
    list-style: none;
}

.stm-testi__dots li {
    line-height: 0;
}

.stm-testi__dots li button {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: #e0ddd5;
    font-size: 0;
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.stm-testi__dots li.slick-active button {
    background: var(--theme-color);
    width: 28px;
    border-radius: 5px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
    .stm-hero__grid {
        flex-direction: column;
        height: auto;
    }
    .stm-hero__text-col {
        flex: unset;
        padding: 56px 24px;
    }
    .stm-hero__image-col {
        order: -1;
        flex: unset;
        height: 380px;
        clip-path: none;
    }
    .stm-components__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stm-feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stm-feature--reverse { direction: ltr; }
    .stm-feature__img-wrap img {
        height: 300px;
    }
    .stm-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stm-pillars__row {
        grid-template-columns: repeat(3, 1fr);
    }
    .stm-testi__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .stm-testi__nav {
        display: none;
    }
    .stm-testi { padding: 80px 0; }
}

@media (max-width: 575px) {
    .stm-hero__image-col { height: 300px; }
    .stm-hero__text-col { padding: 40px 20px; }
    .stm-hero__title { font-size: clamp(26px, 8vw, 36px); }
    .stm-hero__desc { font-size: 15px; line-height: 1.7; }

    .stm-marquee__item { font-size: 13px; letter-spacing: 2px; }

    .stm-intro { padding: 60px 0; }
    .stm-intro__text { font-size: 18px; }

    .stm-components { padding: 70px 0; }
    .stm-components__grid { grid-template-columns: 1fr; }
    .stm-comp-card__img { min-height: 160px; padding: 18px 18px 12px; }
    .stm-comp-card__img img { max-height: 150px; }
    .stm-comp-card__body { padding: 20px 20px 22px; }

    .stm-features { padding: 60px 0; }
    .stm-feature { margin-bottom: 60px; gap: 30px; }
    .stm-feature__img-wrap img { height: 240px; }

    .stm-stats { padding: 70px 0; }
    .stm-stats__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stm-stat { padding: 28px 16px; }

    .stm-pillars { padding: 70px 0; }
    .stm-pillars__row { grid-template-columns: 1fr 1fr; gap: 14px; }
    .stm-pillar-card { padding: 32px 14px 28px; }
    .stm-pillar-card__letter { font-size: 36px; }

    .stm-testi { padding: 60px 0; }
    .stm-testi__heading { font-size: clamp(22px, 6vw, 30px); }
    .stm-testi-card { padding: 32px 24px 28px; }
    .stm-testi-card__text { font-size: 15px; }
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .stm-hero__eyebrow, .stm-hero__title, .stm-hero__desc,
    .stm-hero__actions, .stm-hero__breadcrumb {
        opacity: 1 !important; transform: none !important;
    }
}
