/* Muay Thai page – full-width Gutenberg layout inside Divi */

/* Remove Divi's default top padding under the header */
#main-content .container {
    padding-top: 0 !important;
}

/* Make the Gutenberg content area full width */
#main-content,
#main-content .container,
#left-area,
.entry-content {
    margin: 0;
    padding: 0;
    max-width: none;
    width: 100%;
}

/* Ensure our wrapper truly goes edge-to-edge */
.demo-page-wrapper {
    margin: 0;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Hide the theme's automatic page title on this page */
.entry-title {
    display: none;
}

/* Prevent accidental horizontal scrolling on this page */
html,
body {
    overflow-x: hidden;
}



*, ::before, ::after {
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

div {
    display: block;
    unicode-bidi: isolate;
}

:root {
    --primary-red: #FF0000;
    --antiflash: #EAEBED;
    --night: #111111;
    --eerie-black: #191B1F;
    --raisin-black: #232426;
    --body-text: #707070;
}

body {
    font-family: 'Inter Tight', sans-serif;
    color: #707070;
    letter-spacing: .16px;
    font-size: calc(var(--base-font-size) * var(--scale-factor));
    font-weight: 300;
    line-height: 160%;
    min-height: 100%;
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

img {
    vertical-align: middle;
    max-width: 100%;
    display: inline-block;
}

/* ========================================
   RESPONSIVE DESIGN FOUNDATIONS
   ======================================== */

/* Responsive Breakpoints:
   - Mobile: ≤767px
   - Tablet: 768px-1024px  
   - Desktop: ≥1025px
*/

/* ===== GLOBAL RESPONSIVE FOUNDATIONS - START ===== */

/* Global overflow controls for mobile */
@media screen and (max-width: 767px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        touch-action: pan-y;
        overscroll-behavior-x: none;
        overscroll-behavior-y: none;
        width: 100%;
        height: 100%;
    }
    
    body {
        min-height: 100vh;
        overflow-y: auto;
    }
}

/* Enhanced base responsive typography */
@media screen and (max-width: 1024px) {
    body {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        line-height: 1.6;
    }
}

@media screen and (max-width: 767px) {
    body {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
        line-height: 1.5;
    }
}

/* Responsive container adjustments */
@media screen and (max-width: 1024px) {
    .mc-default-container,
    .hero2-wrapper {
        padding-left: clamp(1rem, 4vw, 2rem);
        padding-right: clamp(1rem, 4vw, 2rem);
    }
}

@media screen and (max-width: 767px) {
    .mc-default-container,
    .hero2-wrapper {
        padding-left: clamp(1rem, 5vw, 1.5rem);
        padding-right: clamp(1rem, 5vw, 1.5rem);
    }
}

/* ===== GLOBAL RESPONSIVE FOUNDATIONS - END ===== */

/* Hero 2 Section */

.hero2 {
    height: auto;
    min-height: 130vh;
    position: relative;
    padding-top: 10rem;
    padding-bottom: 10rem;
    display: flex;
    gap: 80px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

/* Hero background image positioning */
.hero2-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 0;
    z-index: 0;
}

/* Gradient overlay for desktop */
.hero2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 80%);
    z-index: 1;
    pointer-events: none;
}


.hero2-wrapper {
    width: 100%;
    height: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    position: relative;
    z-index: 2;
}

.inner-container-hero {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
}

.position-relative {
    width: 100%;
    height: 100%;
    position: relative;
}

.shape-decor {
    z-index: 1;
    position: absolute;
    top: auto;
    bottom: 1.1rem;
    left: auto;
    right: 1.7rem;
}

.shape-decor.hero-section {
    height: 4rem;
    top: 10.5rem;
    bottom: auto;
    right: 1rem;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: .5rem;
    overflow: hidden;
}

.image {
    position: static;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: inline-block;
}

.left-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 35rem;
    gap: 10px;
    margin-bottom: 2rem;
}

.eyebrow-wrapper {
    display: flex;
}

.eyebrow {
    opacity: .7;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: .01rem;
    font-weight: 400;
    line-height: 1.56;
    -webkit-font-smoothing: antialiased;
    background-attachment: scroll !important;
}

.left-content-wrapper h1 {
    font-size: 6.25rem;
    font-weight: 500;
    font-family: 'Teko', sans-serif;
    letter-spacing: -.01em;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}

.left-content-wrapper h1 span {
    color: var(--primary-red);
    font-weight: 500;
    text-transform: uppercase;
}

.hero-text2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6em;
    font-weight: 400;
    color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.hero-button-container-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-attachment: scroll !important;
    -webkit-font-smoothing: antialiased;
    margin-bottom: 2rem;
}

.hero2-features-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-checkmark {
    background-color: #ff0000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-checkmark .material-symbols-outlined {
    font-size: 16px;
    color: #ffffff;
    font-variation-settings:
      'FILL' 1,
      'wght' 600,
      'GRAD' 0,
      'opsz' 16;
}

.feature-text {
    color: #ff0000;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.hero-orange-button {
    display: flex;
    gap: .75rem;
    border-radius: 10rem;
    color: white;
    transform-style: preserve-3d;
    justify-content: center;
    align-items: center;
    padding: 1rem 2.5rem;
    text-decoration: none;
    transition: border .3s, background-color .3s, transform .3s, color .3s;
    position: relative;
    background-color: #ff0000;
    cursor: pointer;
    border: 0;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(12px, 2.8vw, 14px);
    font-weight: 400;
    letter-spacing: .01rem;
    white-space: nowrap;
    max-width: calc(100vw - 2rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-orange-button:hover {
    transform: translate3d(0, -3px, .01px);
}

.position-absolute {
    position: absolute;
    top: auto;
    bottom: 0%;
    left: 0%;
    right: 0%;
    z-index: 2;
}

.grid._2-5---1-col {
    grid-template-rows: auto;
    grid-template-columns: 2.5fr 1fr;
}

.w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}

.grid {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    grid-template-rows: auto;
}

.value-wrapper {
    border: 1px solid #2e3338;
    border-radius: .5rem;
    backdrop-filter: blur(5px);
    background-color: rgba(20, 20, 20, .66);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 2rem;
    display: flex;
}

.w-layout-grid.grid.achievement {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
}

.content-wrapper.align-center {
    grid-area: span 1 / span 1 / span 1 / span 1;
    align-items: center;
}

.align-center {
    text-align: center;
    flex-direction: column;
    align-items: center;
    display: flex;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.padding-md {
    padding: 2rem;
}

.accent-text {
    color: #ff0000;
    font-weight: 500;
    font-family: 'Teko', sans-serif;
    font-size: 3rem;
    letter-spacing: .02em;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
}

.counter-value-text {
    font-family: 'Nunito', sans-serif;
    color: #a6aeb9;
    letter-spacing: .01rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.56;
}

.social-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-content-wrapper {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
}

.social-grid {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
}

.social-icon-block {
    border: 1px solid #2e3338;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    font-size: .875rem;
    text-decoration: none;
    transition: all .35s ease;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--eerie-black);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Individual platform styling */
.social-icon-block[href*="facebook"] {
    background-color: #1877f2;
    border-color: #1877f2;
}

.social-icon-block[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-icon-block[href*="youtube"] {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Hover states - all use primary red */
.social-icon-block:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    background-color: var(--primary-red) !important;
    background: var(--primary-red) !important;
    filter: none !important;
}

/* Icon color adjustments for better contrast */
.social-icon-block svg {
    transition: all .35s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.social-icon-block:hover svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

svg:not(:root) {
    overflow: hidden;
}

/* ===== HERO SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .hero2 {
        min-height: 100vh;
        padding-top: clamp(6rem, 8vw, 8rem);
        padding-bottom: clamp(6rem, 8vw, 8rem);
        gap: clamp(3rem, 6vw, 5rem);
    }

    /* Center background image on tablet */
    .hero2-background-image {
        object-position: center center;
    }

    .left-content-wrapper h1 {
        font-size: clamp(4rem, 8vw, 5.5rem);
        line-height: 1.1;
    }

    .hero-text2 {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .hero2-features-list {
        gap: clamp(1rem, 3vw, 2rem);
    }

    .feature-text {
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .shape-decor.hero-section {
        height: clamp(3rem, 5vw, 4rem);
        top: clamp(8rem, 12vw, 10.5rem);
        right: clamp(0.5rem, 2vw, 1rem);
    }

    .grid._2-5---1-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .position-absolute {
        position: relative;
        margin-top: 3rem;
    }

    .value-wrapper {
        padding: clamp(1rem, 3vw, 1.5rem);
    }

    .w-layout-grid.grid.achievement {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1rem, 2vw, 2rem);
    }

    .accent-text {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1rem, 2vw, 2rem);
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .hero2 {
        min-height: 100vh;
        padding-top: clamp(4rem, 8vw, 6rem);
        padding-bottom: clamp(4rem, 8vw, 6rem);
        gap: clamp(2rem, 5vw, 3rem);
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }

    /* Mobile gradient overlay - vertical direction */
    .hero2::before {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    }

    /* Center background image on mobile */
    .hero2-background-image {
        object-position: center center;
    }

    .hero2-wrapper {
        max-width: 100%;
        overflow: hidden;
        position: relative;
        z-index: 2;
    }

    .left-content-wrapper {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .left-content-wrapper h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
        line-height: 1.1;
        text-align: center;
    }

    .hero-text2 {
        font-size: clamp(1rem, 3.5vw, 1.1rem);
        text-align: center;
        padding-top: clamp(1rem, 3vw, 1.5rem);
        padding-bottom: clamp(1rem, 3vw, 1.5rem);
    }

    .eyebrow {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        text-align: center;
    }

    .hero-button-container-left {
        width: 100%;
        align-items: center;
        gap: clamp(2rem, 3vw, 1.5rem);
    }

    .hero2-features-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(0.75rem, 2vw, 1rem);
        justify-items: center;
        align-items: center;
    }
    
    .hero2-features-list .feature-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .hero2-features-list .feature-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .hero2-features-list .feature-item:nth-child(3) {
        grid-column: 1 / -1; /* Spans both columns */
        grid-row: 2;
        justify-self: center;
    }

    .feature-item {
        justify-content: center;
    }

    .feature-text {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }

    .shape-decor.hero-section {
        display: none; /* Hide decorative element on mobile for cleaner look */
    }

    .grid._2-5---1-col {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
    }

    .position-absolute {
        position: relative;
        margin-top: clamp(2rem, 5vw, 3rem);
    }

    .position-absolute.hero-section {
        margin-left: auto;
        margin-right: auto;
    }

    .value-wrapper {
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
        padding-top: clamp(1rem, 4vw, 1.5rem);
        padding-bottom: clamp(1rem, 4vw, 1.5rem);
        margin: 0 auto;
        max-width: 100%;
        flex-grow: 1;
        width: 100%;
    }

    .w-layout-grid.grid.achievement {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
        text-align: center;
        width: 100%;
    }

    .accent-text {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .counter-value-text {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }

    .social-wrapper {
        margin-top: clamp(1rem, 3vw, 2rem);
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(0.75rem, 2vw, 1rem);
    }

    .social-icon-block {
        padding: clamp(0.75rem, 2vw, 1rem);
        font-size: clamp(0.75rem, 2vw, 0.875rem);
    }
}

/* ===== HERO SECTION RESPONSIVE - END ===== */

/* Our Commitment Section */

.our-commitment {
    background-color: #191b1f;
    color: white;
    padding-top: 10rem;
    padding-bottom: 10rem;
    display: flex;
    gap: 80px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.mc-default-container {
    width: 100%;
    height: 100%;
    max-width: 80rem;
    padding-right: 3rem;
    padding-left: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.two-col-layout-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    gap: 2rem;
}

@media screen and (min-width: 1440px) {
    .two-col-layout-grid {
        height: auto;
    }
}

.container-inner {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
    grid-area: span 1 / span 1 / span 1 / span 1;
}

.mc-flex-horizontal {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 2rem;
}

.mc-spacer-component {
    width: 100%;
    height: 3rem;
}

.mc-image-wrapper {
    width: 100%;
    height: 45%;
    border-radius: .5rem;
    overflow: hidden;
}

.live-image {
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
}

.container-inner-justify-center {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
}

.mc-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.mc-badge-wrapper {
    display: flex;
}

.mc-badge {
    display: flex;
    gap: .5rem;
    text-transform: uppercase;
    flex: 0 auto;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
}

.mc-eyebrow-2 {
    opacity: .7;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .01rem;
    font-weight: 400;
    line-height: 1.56;
}

.mc-max-width-component {
    width: 100%;
    max-width: 30rem;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.mc-heading-h2 {
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2em;
    font-size: 3rem;
    margin-top: 15px;
    margin-bottom: 0;
    position: relative;
}

.accent-text2 {
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2em;
    font-size: 3rem;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: center;
    color: #ff0000;
}

.spacing-component-mc1 {
    width: 100%;
    height: 2rem;
}

.mc-body-text-2 {
    opacity: .75;
    padding-bottom: 40px;
}

.mc-regular-body-font {
    font-family: Nunito, sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: darkgray;
    line-height: 1.6em;
    margin-top: 0px;
    margin-bottom: 0px;
}

.mc-spacer-component-large {
    width: 100%;
    height: 4rem;
}

.mc-button-wrapper {
    display: flex;
}

.mc-inline-button-style {
    display: flex;
    position: relative;
    overflow: hidden;
    gap: .75rem;
    border: 1px solid #ff0000;
    border-radius: 10rem;
    background-color: #0b0c0e;
    color: #ffffff;
    transform-style: preserve-3d;
    justify-content: center;
    align-items: center;
    padding: 1rem 3.125rem;
    text-decoration: none;
    transition: border-color .3s, background-color .3s, transform .3s, color .3s;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.56;
    max-width: 100%;
}

.mc-inline-button-style:hover {
    transform: translate3d(0, -3px, .01px);
}

.mc-inline-button-style a:hover {
    outline: 0;
}

.overflow-hidden {
    overflow:hidden;
}

/* ===== OUR COMMITMENT SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .our-commitment {
        padding-top: clamp(6rem, 8vw, 10rem);
        padding-bottom: clamp(6rem, 8vw, 10rem);
        gap: clamp(3rem, 6vw, 5rem);
    }

    .two-col-layout-grid {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 4vw, 3rem);
    }

    .mc-flex-horizontal {
        gap: clamp(1rem, 3vw, 2rem);
    }

    .mc-image-wrapper {
        height: clamp(20rem, 40vw, 25rem);
    }

    .mc-heading-h2 {
        font-size: clamp(3rem, 6vw, 5rem);
        line-height: 1.2;
    }

    .accent-text2 {
        font-size: clamp(3rem, 6vw, 5rem);
        line-height: 1.2;
    }

    .mc-regular-body-font {
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .mc-inline-button-style {
        padding: clamp(0.875rem, 2vw, 1rem) clamp(2rem, 4vw, 3.125rem);
        font-size: clamp(0.9rem, 2vw, 1rem);
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .our-commitment {
        padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 4vw, 1.5rem);
    }

    .mc-default-container {
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
    }

    .two-col-layout-grid {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 5vw, 3rem);
    }
  
      /* Reorder layout: content first, then images */
    .container-inner-justify-center {
        order: 1;
        text-align: center;
        align-items: center;
    }

    .container-inner {
        order: 2;
    }

    .mc-flex-horizontal {
        flex-direction: column;
        gap: clamp(1rem, 3vw, 1.5rem);
        align-items: center;
    }
  
      /* Show only the JKD 1.jpg image (second image wrapper in first cell) on mobile */
    .mc-cell:first-child .mc-image-wrapper:nth-child(2) {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Hide all other images on mobile */
    .mc-cell:first-child .mc-image-wrapper:not(:nth-child(2)),
    .mc-cell:last-child {
        display: none;
    }

    /* Hide spacer components on mobile for cleaner layout */
    .mc-spacer-component {
        display: none;
    }

    .mc-image-wrapper {
        height: clamp(20rem, 50vw, 25rem);
        width: 100%;
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
    }

    .mc-max-width-component {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .mc-heading-h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.1;
        text-align: center;
    }

    /* Hide line breaks on mobile for single-line heading */
    .mc-heading-h2 br {
        display: none;
    }

    .accent-text2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.1;
        text-align: center;
    }

    .mc-eyebrow-2 {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        text-align: center;
    }

    .mc-regular-body-font {
        font-size: clamp(1rem, 3vw, 1.1rem);
        text-align: center;
    }

    .mc-body-text-2 {
        text-align: center;
        padding-bottom: clamp(1.5rem, 4vw, 2rem);
    }

    .mc-button-wrapper {
        justify-content: center;
        width: 100%;
    }

    .mc-inline-button-style {
        padding: clamp(1rem, 3vw, 1.25rem) clamp(2rem, 5vw, 2.5rem);
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        width: auto;
        min-width: fit-content;
    }

    .spacing-component-mc1 {
        height: clamp(1rem, 3vw, 2rem);
    }

    .mc-spacer-component-large {
        height: clamp(2rem, 5vw, 4rem);
    }
}

/* ===== OUR COMMITMENT SECTION RESPONSIVE - END ===== */

/*What You'll Learn Section */

.learning-section {
    padding: 5rem 2.75%;
    display: block;
    background-color: #111111;
}

.learning-container {
    width: 100%;
    max-width: 1900px;
    margin-left: auto;
    margin-right: auto;
}

.learn-heading-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.heading-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.learning-heading-h2 {
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2em;
    font-size: 3rem;
    margin-top: 15px;
    margin-bottom: 0;
}

.learning-heading-h2 span {
    color: #ff0000;
}

.learning-subheading {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: darkgray;
    line-height: 1.6em;
    margin-top: 0;
    margin-bottom: 0;
}

.learning-classes-link {
    position: relative;
    display: inline-block;          /* so width = text width */
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    color: #ffffff;
    line-height: 1.2em;
    margin: 0;
    text-decoration: none;
    transition: color .5s ease;
  }

  .learning-classes-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;                   /* adjust spacing under text */
    height: 2px;
    width: 100%;
    background: #f00;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
  }

.learning-classes-link:hover,
.learning-classes-link:focus-visible {
  color: #f00;
}

.learning-classes-link:hover::after,
.learning-classes-link:focus-visible::after {
  transform: scaleX(1);
}

.learn-service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.learning-card {
    border-radius: .75rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.learning-card-image {
    object-fit: cover;
    border-radius: .75rem;
    width: 100%;
    height: 37.5rem;
    flex-shrink: 0;
}

.learning-card-content-wrap {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: #232426;
    padding: 1.5rem;
    border-radius: .5rem;
    transform: translateY(calc(100% + 1rem));
    transition: transform 0.5s ease;
}

.learning-card:hover .learning-card-content-wrap {
    transform: translateY(0);
}

.learning-content-block {
    display: flex;
    flex-flow: column;
    gap: .5rem;
}

.learning-number {
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1em;
    color: #ff0000;
    text-transform: uppercase;
}

.content-block-h3 {
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1em;
    color: white;
    text-transform: uppercase;
}

.learning-card-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6em;
    color: white;
}

/* ===== LEARNING SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .learning-section {
        padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.75%);
    }

    .learning-container {
        max-width: 100%;
    }

    .learn-heading-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(1rem, 2vw, 2rem);
        margin-bottom: clamp(2rem, 4vw, 3rem);
        padding-left: clamp(1rem, 2vw, 2rem);
    }

    .learning-heading-h2 {
        font-size: clamp(2.5rem, 5vw, 3rem);
    }

    .learning-subheading {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }

    .learning-classes-link {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    }

    .learn-service-list {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(1rem, 2vw, 1.5rem);
    }

    .learning-card-image {
        height: clamp(25rem, 45vw, 35rem);
    }

    .learning-card-content-wrap {
        padding: clamp(1rem, 2vw, 1.5rem);
    }

    .learning-number {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }

    .content-block-h3 {
        font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    }

    .learning-card-text {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .learning-section {
        padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 4vw, 1.5rem);
    }

    .learning-container {
        max-width: 100%;
    }

    .learn-heading-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: clamp(2rem, 5vw, 3rem);
        padding-left: 0;
    }

    .heading-content-wrapper {
        align-items: center;
    }

    .learning-heading-h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        text-align: center;
        line-height: 1.1;
    }

    .learning-subheading {
        font-size: clamp(1rem, 3vw, 1.1rem);
        text-align: center;
    }

    .learning-classes-link {
        font-size: clamp(1rem, 3vw, 1.2rem);
        text-align: center;
    }

    .learn-service-list {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
    }

    .learning-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .learning-card-image {
        height: clamp(20rem, 50vw, 25rem);
    }

    .learning-card-content-wrap {
        padding: clamp(1rem, 3vw, 1.25rem);
        left: clamp(0.5rem, 2vw, 1rem);
        right: clamp(0.5rem, 2vw, 1rem);
        bottom: clamp(0.5rem, 2vw, 1rem);
    }

    .learning-content-block {
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
        text-align: center;
    }

    .learning-number {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }

    .content-block-h3 {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
        line-height: 1.2;
    }

    .learning-card-text {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        line-height: 1.5;
        text-align: center;
    }
  
  /* Ensure hover effects work on mobile touch */
    .learning-card:hover .learning-card-content-wrap,
    .learning-card:focus-within .learning-card-content-wrap {
        transform: translateY(0);
    }

    /* Always show content on mobile for better UX */
    .learning-card .learning-card-content-wrap {
        transform: translateY(0);
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: -clamp(3rem, 8vw, 4rem);
        background-color: rgba(35, 36, 38, 0.95);
        backdrop-filter: blur(5px);
    }
}

/* ===== LEARNING SECTION RESPONSIVE - END ===== */

/* About Us Section */

.about-us-section {
    padding-top: 200px;
    padding-bottom: 200px;
    background-color: #EAEBED;
}

.us-container {
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.about-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-split-content-left {
    display: flex;
    width: 100%;
    max-width: 612px;
    margin-right: 40px;
}

.about-images-left {
    width: 100%;
    max-width: 282px;
    margin-right: 24px;
}

.about-image-1 {
    margin-bottom: 27px;
    vertical-align: middle;
    max-width: 100%;
    display: inline-block;
    height: auto;
}

.about-image-2 {
    width: 100%;
    vertical-align: middle;
    max-width: 100%;
    display: inline-block;
}

.about-images-right {
    width: 100%;
    max-width: 306px;
}

.about-image-3 {
    width: 100%;
    margin-top: 38px;
    vertical-align: middle;
    max-width: 100%;
    display: inline-block;
}

.about-split-content-right {
    max-width: 494px;
}

.title-about-h2 {
    color: black;
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.289em;
    font-family: 'Teko', sans-serif;
}

.about-text {
    font-family: 'Nunito', sans-serif;
    margin-bottom: 57px;
    margin-top: 0;
    color: #7a7b85;
    font-size: 1.25rem;
    line-height: 1.6em;
}

/* ===== ABOUT US SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .about-us-section {
        padding-top: clamp(8rem, 12vw, 12rem);
        padding-bottom: clamp(8rem, 12vw, 12rem);
    }

    .us-container {
        max-width: 100%;
        padding-left: clamp(1.5rem, 3vw, 2rem);
        padding-right: clamp(1.5rem, 3vw, 2rem);
    }

    .about-wrapper {
        flex-direction: column;
        gap: clamp(3rem, 6vw, 4rem);
        align-items: center;
    }

    .about-split-content-left {
        max-width: 100%;
        margin-right: 0;
        justify-content: center;
    }

    .about-images-left {
        max-width: clamp(15rem, 35vw, 20rem);
        margin-right: clamp(1rem, 2vw, 1.5rem);
    }

    .about-images-right {
        max-width: clamp(16rem, 38vw, 22rem);
    }

    .about-image-1 {
        margin-bottom: clamp(1rem, 2vw, 1.5rem);
    }

    .about-image-3 {
        margin-top: clamp(1.5rem, 3vw, 2rem);
    }

    .about-split-content-right {
        max-width: 100%;
        text-align: center;
    }

    .title-about-h2 {
        font-size: clamp(2.5rem, 5vw, 3rem);
        text-align: center;
    }

    .about-text {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        margin-bottom: clamp(2rem, 4vw, 3rem);
        text-align: center;
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .about-us-section {
        padding-top: clamp(4rem, 8vw, 6rem);
        padding-bottom: clamp(4rem, 8vw, 6rem);
    }

    .us-container {
        max-width: 100%;
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
    }

    .about-wrapper {
        flex-direction: column-reverse;
        gap: clamp(2rem, 5vw, 3rem);
        align-items: center;
    }

    .about-split-content-left {
        max-width: 100%;
        margin-right: 0;
        flex-direction: column;
        align-items: center;
        gap: clamp(1rem, 3vw, 1.5rem);
    }

    .about-images-left {
        max-width: 100%;
        margin-right: 0;
        display: flex;
        flex-direction: column;
        gap: clamp(1rem, 3vw, 1.5rem);
    }

    .about-images-right {
        max-width: 100%;
        order: -1; /* Move the third image to the top on mobile */
    }


    .about-image-3 {
        width: 100%;
        margin-bottom: 0;
        margin-top: 0;
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
    }

    .about-image-1 {
        display: none;
    }

    .about-image-2 {
        display: none;
    }

    .about-split-content-right {
        max-width: 100%;
        text-align: center;
    }

    .title-about-h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        text-align: center;
        line-height: 1.2;
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
    }

    .about-text {
        font-size: clamp(1rem, 3vw, 1.1rem);
        margin-bottom: clamp(2rem, 5vw, 3rem);
        text-align: center;
        line-height: 1.5;
    }
}

/* ===== ABOUT US SECTION RESPONSIVE - END ===== */

/* ========================================
   ABOUT US SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.about-us-section .about-image-1 {
    opacity: 0;
    transform: translateY(30px);
}

.about-us-section .about-image-2 {
    opacity: 0;
    transform: translateY(30px);
}

.about-us-section .about-image-3 {
    opacity: 0;
    transform: translateY(30px);
}

.about-us-section .about-split-content-right {
    opacity: 0;
    transform: translateX(50px);
}

/* Animation keyframes */
@keyframes aboutSlideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Animation classes */
.about-us-section .about-image-1.animate {
    animation: aboutSlideUpFadeIn 600ms ease-out forwards;
}

.about-us-section .about-image-2.animate {
    animation: aboutSlideUpFadeIn 600ms ease-out forwards;
}

.about-us-section .about-image-3.animate {
    animation: aboutSlideUpFadeIn 600ms ease-out forwards;
}

.about-us-section .about-split-content-right.animate {
    animation: aboutSlideInFromRight 800ms ease-out forwards;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .about-us-section .about-image-1,
    .about-us-section .about-image-2,
    .about-us-section .about-image-3,
    .about-us-section .about-split-content-right {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

/* Why Choose Section */

.mc-why-choose {
    padding-bottom: 130px;
    padding-top: 6rem;
    background-color: #111111;
}

@media screen and (min-width: 1440px) {
    .mc-why-choose {
        padding-bottom: 130px;
    }
}

.mc-block-sizing-container {
    display: block;
    max-width: 1316px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.mc-video-flex {
    position: relative;
}

.mc-video-card {
    z-index: 2;
    position: absolute;
    border-width: 1px;
    border-color: #111111;
    max-width: 35.75rem;
    padding-top: 2.875rem;
    padding-left: 3.375rem;
    inset: auto 0 0 auto;
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
}

.mc-heading-text-content {
    padding-bottom: 0.5rem;
    overflow: hidden;
}

.mc-heading-text-content h2 {
    color: #ffffff;
    font-size: 3.375rem;
    font-weight: 700;
    line-height: 1.222em;
    margin-bottom: 0;
    margin-top: 15px;
    font-family: 'Teko', sans-serif;
    letter-spacing: -.01em;
}

.mc-heading-text-content p {
    margin-bottom: 1.75rem;
    margin-top: 0;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.667em;
}

.mc-text-nowrap {
    white-space: nowrap;
    color: #ff0000;
}

.mc-choose-button {
    border: 1px solid #ff0000;
    background-color: #ff0000;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.14625rem;
    text-transform: uppercase;
    border-radius: 6rem;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.111em;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    transition: border-color .3s, background-color .3s, transform .3s, color .3s;
    display: inline-block;
}

.mc-fullwidth-wrapper-left {
    opacity: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 93.7%;
    height: 720px;
    position: relative;
    grid-area: span 2 / span 2 / span 2 / span 2;
}

.mc-fullwidth-content-left {
    overflow: hidden;
    width: 100vw;
    position: absolute;
    inset: 0% 0% 0% auto;
}

.mc-video-background-image {
    object-fit: cover;
    object-position: 50% 0%;
    width: 100%;
    height: 100%;
}

.mc-video-background-image img {
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}

.mc-video-background-overlay {
    background-color: #00000085;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    inset: 0%;
    z-index: 1;
}

.mc-video-lightbox-icon {
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    background-color: #0000;
    text-decoration: underline;
}

.play-button {
    transform-style: preserve-3d;
    max-width: 140px;
    transition: transform .3s;
}


/* Services Section */

.services-section {
    padding-top: 120px;
    position: relative;
}

.services-block-layout {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

.services-title-area {
    display: flex;
    position: relative;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.services-title-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 550px;
}

.section-sub-title-wrap {
    display: flex;
    gap: 10px;
    color: #ff0000;
    justify-content: flex-start;
    align-items: center;
    font-size: 18px;
    line-height: 1.1;
}

.section-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-icon-wrap .material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
    font-size: 24px;   /* match your design */
    line-height: 1;
    display: block;
    color: #ff0000;       /* or whatever the card uses */
    display: inline-block;
}

.service-post-title {
    color: #ffffff;
    margin-bottom: 0;
    margin-top: 15px;
    font-size: 40px;
    font-family: 'Teko', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

.services-content-wrap {
    max-width: 550px;
}

.primary-button-services {
    border: 1px solid #ff6229;
    color: #101418;
    background-color: #ff6229;
    text-align: center;
    margin-top: 0;
    padding: 20px 27px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    font-family: 'Nunito', sans-serif;
    transition: color .2s, border-color .2s, background-color .2s;
    cursor: pointer;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
}

.services-card-area {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #ccc;
    justify-content: space-between;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 10px #cccccc40;
}

.services-collection-list-wrapper {
    flex: 1;
}

.dyn-items-w-row {
    margin-left: -10px;
    margin-right: -10px;
    display: flex;
    flex-wrap: wrap;
}

.listitem {
    padding-left: 10px;
    padding-right: 10px;
    width: 33.3333%;
    min-height: 1px;
    position: relative;
    display: flex;
}

.services-card-wrap {
    padding-left: 25px;
    padding-right: 25px;
    border-left: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.services-icon-wrap {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    align-items: center;
}

.transformation-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: #ff0000;
    font-size: 1.2rem;
}

.body-text-bold {
    color: black;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.services-icon {
    width: 40px;
    height: 40px;
    color: black;
    display: block;
}

.services-card-wrap .material-symbols-outlined{
    font-variation-settings:
      'FILL' 0,      /* 0 = outlined, 1 = filled */
      'wght' 400,
      'GRAD' 0,
      'opsz' 48;     /* optical size; match your icon size */
    font-size: 40px;   /* match your design */
    line-height: 1;
    display: block;
    color: #111;       /* or whatever the card uses */
    display: inline-block;
  }  

.services-details-area {
    max-width: 300px;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.services-card-title-wrap {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 10px;
}

.services-title {
    font-family: 'Teko', sans-serif;
    color: #101418;
    margin-bottom: 5px;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.1;
    transition-property: none;
    display: block;
    text-decoration: none;
    transition: color .2s;
}

.services-card-wrap:hover .services-title {
    color: #ff0000;
}

.services-card-line-wrap-home {
    width: 0%;
    background-color: #ff0000;
    height: 2px;
    transition: width .5s ease;
}

.services-card-wrap:hover .services-card-line-wrap-home {
    width: 100%;
}

.services-content {
    font-family: 'Nunito', sans-serif;
    margin-bottom: 0;
    font-size: 18px;
    margin-top: 0;
    color: #4c586f;
    letter-spacing: .01em;
    line-height: 1.5;
    font-weight: 400;
}

.services-post-link-area {
    border: 1px solid #ff0000;
    background-color: #ff0000;
    color: rgb(16, 20, 24);
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    padding: 13px 15px;
    font-size: 18px;
    font-weight: 600;
    transition: all .5s ease;
    font-family: 'Teko', sans-serif;
    max-width: 100%;
    text-decoration: none;
    align-self: flex-start;
}

.services-post-link-wrap {
    opacity: 0;
    height: 27px;
    max-width: 0;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity .5s ease, max-width .5s ease;
}

.services-card-wrap:hover .services-post-link-wrap {
    opacity: 1;
    height: 27px;
    max-width: 100px;
}

.services-card-wrap:hover .services-post-link-area {
    background-color: #ff0000;
    border-color: #ff0000;
    color: rgb(255, 255, 255);
}

.services-post-text {
    margin-right: 10px;
}

.services-post-arrow-wrap {
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    transition: transform .5s ease;
}

.services-card-wrap:hover .services-post-arrow-wrap {
    transform: translate3d(2px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
}

.services-post-initial-arrow {
    opacity: 1;
    max-width: 100%;
    display: inline-block;
    transition: opacity .5s ease;
}

.services-card-wrap:hover .services-post-initial-arrow {
    opacity: 1;
}

.services-post-hover-arrow {
    opacity: 0;
    position: absolute;
    max-width: 100%;
    display: inline-block;
    transition: opacity .5s ease;
    color: white;
}

.services-card-wrap:hover .services-post-hover-arrow {
    opacity: 0;
}

.services-card-wrap:hover .services-post-hover-arrow img {
    filter: brightness(0) invert(1);
}

.services-overlay-area {
    z-index: -1;
    position: absolute;
    inset: 0% 0% auto;
}

.services-overlay-wrap {
    height: 400px;
}

.services-overlay-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: inline-block;
}

.services-bg-wrap {
    background-color: #101418cc;
    position: absolute;
    inset: 0%;
}

/* ===== SERVICES SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .services-section {
        padding-top: clamp(6rem, 10vw, 8rem);
    }

    .services-block-layout {
        max-width: 100%;
        padding-left: clamp(1.5rem, 3vw, 2rem);
        padding-right: clamp(1.5rem, 3vw, 2rem);
    }

    .services-title-area {
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: clamp(2.5rem, 4vw, 3rem);
    }

    .services-title-wrap {
        max-width: 100%;
    }

    .section-sub-title-wrap {
        font-size: clamp(1rem, 2vw, 1.125rem);
        gap: clamp(0.5rem, 1vw, 0.75rem);
    }

    .service-post-title {
        font-size: clamp(2.5rem, 5vw, 3rem);
        line-height: 1.1;
    }

    .primary-button-services {
        padding: clamp(1rem, 2vw, 1.25rem) clamp(1.5rem, 3vw, 2rem);
        font-size: clamp(1rem, 2vw, 1.125rem);
    }

    .services-card-area {
        padding-top: clamp(2.5rem, 4vw, 3rem);
        padding-bottom: clamp(2.5rem, 4vw, 3rem);
    }

    .dyn-items-w-row {
        margin-left: 0;
        margin-right: 0;
    }

    .listitem {
        width: 50%;
        padding-left: clamp(0.5rem, 1vw, 0.75rem);
        padding-right: clamp(0.5rem, 1vw, 0.75rem);
    }

    .listitem:nth-child(3) {
        width: 100%;
        margin-top: clamp(1.5rem, 3vw, 2rem);
    }

    .services-card-wrap {
        padding-left: clamp(1rem, 2vw, 1.5rem);
        padding-right: clamp(1rem, 2vw, 1.5rem);
        border-left: none;
        border-top: 1px solid #ccc;
        padding-top: clamp(1.5rem, 3vw, 2rem);
    }

    .listitem:nth-child(1) .services-card-wrap {
        border-top: none;
    }

    .listitem:nth-child(2) .services-card-wrap {
        border-top: none;
    }

    .services-icon-wrap .material-symbols-outlined {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }

    .transformation-text,
    .body-text-bold {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }

    .services-title {
        font-size: clamp(1.375rem, 2.5vw, 1.5rem);
    }

    .services-content {
        font-size: clamp(1rem, 2vw, 1.125rem);
    }

    .services-post-link-area {
        padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.25rem);
        font-size: clamp(1rem, 2vw, 1.125rem);
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .services-section {
        padding-top: clamp(4rem, 8vw, 6rem);
    }

    .services-block-layout {
        max-width: 100%;
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
    }

    .services-title-area {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: clamp(2rem, 4vw, 2.5rem);
        margin-bottom: clamp(2rem, 5vw, 3rem);
    }

    .services-title-wrap {
        max-width: 100%;
        align-items: center;
    }

    .section-sub-title-wrap {
        font-size: clamp(1rem, 3vw, 1.1rem);
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
        justify-content: center;
    }

    .service-post-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.1;
        text-align: center;
    }

    .services-content-wrap {
        max-width: 100%;
        text-align: center;
    }

    .primary-button-services {
        padding: clamp(1rem, 3vw, 1.25rem) clamp(1.5rem, 4vw, 2rem);
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }

    .services-card-area {
        flex-direction: column;
        padding-top: clamp(2rem, 5vw, 3rem);
        padding-bottom: clamp(2rem, 5vw, 3rem);
    }

    .dyn-items-w-row {
        margin-left: 0;
        margin-right: 0;
        flex-direction: column;
    }

    .listitem {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: clamp(1.5rem, 4vw, 2rem);
    }

    .listitem:last-child {
        margin-bottom: 0;
    }

    .services-card-wrap {
        padding: clamp(1.5rem, 4vw, 2rem);
        border-left: none;
        border-top: 1px solid #ccc;
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
        text-align: center;
        align-items: center;
    }

    .listitem:first-child .services-card-wrap {
        border-top: none;
    }

    .services-icon-wrap {
        justify-content: center;
        margin-bottom: clamp(1rem, 2vw, 1.25rem);
    }

    .services-icon-wrap .material-symbols-outlined {
        font-size: clamp(2.5rem, 6vw, 3rem);
    }

    .transformation-text,
    .body-text-bold {
        font-size: clamp(1rem, 3vw, 1.1rem);
        text-align: center;
    }

    .services-details-area {
        max-width: 100%;
        margin-top: clamp(1rem, 3vw, 1.5rem);
        margin-bottom: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
    }

    .services-card-title-wrap {
        text-align: center;
        margin-bottom: clamp(0.75rem, 2vw, 1rem);
    }

    .services-title {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
        text-align: center;
    }

    .services-content {
        font-size: clamp(1rem, 3vw, 1.1rem);
        text-align: center;
        line-height: 1.4;
    }

    .services-post-link-area {
        padding: clamp(1rem, 3vw, 1.25rem) clamp(1.5rem, 4vw, 2rem);
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        align-self: center;
    }

    .services-card-line-wrap-home {
        margin: 0 auto;
    }
  
  /* Ensure hover effects work on mobile */
    .services-card-wrap:hover .services-card-line-wrap-home,
    .services-card-wrap:focus-within .services-card-line-wrap-home {
        width: 50%;
    }

    .services-overlay-wrap {
        height: clamp(15rem, 35vw, 20rem);
    }
}

/* ===== SERVICES SECTION RESPONSIVE - END ===== */


/* ========================================
   BUTTON MODULE CSS
   ======================================== */

.button-overflow-hidden {
    background-color: #F60000;
    border: 1px solid #F60000;
    padding: 10px 25px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    display: inline-block;
    text-decoration: none;
}

.home-button-contain {
    z-index: 2;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    position: relative;
}

.button-font {
    color: rgb(255, 255, 255);
    letter-spacing: 0;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42857;
    transition: color 0.3s ease;
}

.button-overflow-hidden:hover .button-font {
    color: black;
}

.circle-button {
    background-color: #161c24;
    border-radius: 100%;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    padding-right: 1px;
    display: flex;
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.button-bg {
    background-color: #ffffff;
    border-radius: 100%;
    width: 16px;
    height: 16px;
    position: absolute;
    inset: -17% auto auto -4%;
    transform-style: preserve-3d;
    transform: scale(0);
}

.home-button-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.button-arrow {
    position: absolute;
    object-fit: cover;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    transform-style: preserve-3d;
}

/* Gallery Section Starts Here */

.gallery {
    margin: 100px 0;
    position: relative;
    background: transparent;
}

.gallery::before {
    content: "";
    position: absolute;
    inset: -100px 0;
    background: #111;
    z-index: -1;
}

.gallery-container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    grid-area: span 1 / span 1 / span 1 / span 1;
}

.gallery-text-content {
    padding-bottom: 0.5rem;
    overflow: hidden;
    padding-left: 2.5rem;
}

.gallery-text-content h2 {
    color: #ffffff;
    font-size: 3.375rem;
    font-weight: 700;
    line-height: 1.222em;
    margin-bottom: 0;
    margin-top: 15px;
    font-family: 'Teko', sans-serif;
    letter-spacing: -.01em;
}

.gallery-text-content p {
    margin-bottom: 1.75rem;
    margin-top: 0;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.667em;
}

/* ========== GALLERY GRID (tweak to taste) ========== */
.gallery-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 500px;
    gap: 0;
  }

  /* Row 1 */
  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }
  .gallery-item:nth-child(2) {
    grid-column: span 1;
  }
  .gallery-item:nth-child(3) {
    grid-column: span 2;
  }

  /* Row 2 */
  .gallery-item:nth-child(4) {
    grid-column: span 2;
  }
  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }
  .gallery-item:nth-child(6) {
    grid-column: span 1;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
  }
  
  .open-lb {             /* reset button styles */
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
  }
  
  /* dark overlay */
  .gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    transition: opacity .25s;
    z-index: 1;
    pointer-events: none;
  }
  
  /* IG icon link */
  .ig-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    pointer-events: none;          /* off by default */
    transition: opacity .25s;
    z-index: 2;
  }

  .ig-link svg {
    width: 64px;
    height: 64px;
    transition: transform .25s ease;
  }

  .ig-link:hover svg {
    transform: scale(1.1);
  }
  
  .gallery-item:hover::after,
  .gallery-item:hover .ig-link {
    opacity: 1;
  }

  .gallery-item:hover .ig-link {
    pointer-events: auto;          /* clickable on hover */
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  /* ========== LIGHTBOX ========== */
  .lb, .lb-backdrop {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s .3s;
    position: fixed;
    inset: 0;
    z-index: 9998;
  }

  .lb.is-open, .lb-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  
  .lb-backdrop {
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(2px);
  }
  
  .lb {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: none; /* we re-enable on children */
  }

  /* Enable pointer events for video and its controls */
  .lb video {
    pointer-events: auto;
  }
  
  .lb img {
    max-width: 90vw;
    max-height: 80vh;
    box-shadow: 0 0 20px rgba(0,0,0,.7);
  }
  
  .lb button,
  .lb a.lb-ig {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    opacity: .85;
    transition: opacity .2s;
  }
  
  .lb button:hover,
  .lb a.lb-ig:hover { opacity: 1; }
  
  .lb-close { top: 1.2rem; right: 1.6rem; font-size: 3rem; }
  .lb-prev  { left: 2rem;  top: 50%; transform: translateY(-50%); }
  .lb-next  { right: 2rem; top: 50%; transform: translateY(-50%); }
  
  .lb-ig {
    bottom: 1.2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: .7;
    width: 48px;
    height: 48px;
  }
  
  /* prevent body scroll when lightbox is open */
  body.lb-open { overflow: hidden; }

  /* ========== VIDEO LIGHTBOX STYLES ========== */
  
  /* Video-specific lightbox styles */
  .lb video {
    max-width: 90vw;
    max-height: 80vh;
    box-shadow: 0 0 20px rgba(0,0,0,.7);
  }

  /* Hide navigation arrows when showing video */
  .lb.video-mode .lb-prev,
  .lb.video-mode .lb-next {
    display: none;
  }

  /* Hide IG link when showing video */
  .lb.video-mode .lb-ig {
    display: none;
  }

  /* Ensure video controls are touch-friendly */
  .lb video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
  }

  /* Mobile video optimizations */
  @media screen and (max-width: 767px) {
    .lb video {
      max-width: 95vw;
      max-height: 85vh;
    }
  }

/* ===== GALLERY SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .gallery {
        margin: clamp(4rem, 8vw, 6rem) 0;
    }

    .gallery::before {
        inset: clamp(-4rem, -8vw, -6rem) 0;
    }

    .gallery-text-content {
        padding-left: clamp(1.5rem, 3vw, 2.5rem);
        padding-bottom: clamp(1rem, 2vw, 1.5rem);
        text-align: center;
    }

    .gallery-text-content h2 {
        font-size: clamp(2.5rem, 5vw, 3.375rem);
        text-align: center;
    }

    .gallery-text-content p {
        font-size: clamp(1rem, 2vw, 1.125rem);
        margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
        text-align: center;
    }

    .gallery-wrap {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: clamp(20rem, 40vw, 25rem);
        gap: clamp(0.5rem, 1vw, 0.75rem);
    }

    /* Tablet grid layout - 2 columns */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .ig-link svg {
        width: clamp(3rem, 6vw, 4rem);
        height: clamp(3rem, 6vw, 4rem);
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .gallery {
        margin: clamp(3rem, 6vw, 4rem) 0;
    }

    .gallery::before {
        inset: clamp(-3rem, -6vw, -4rem) 0;
    }

    .gallery-text-content {
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
        padding-bottom: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
    }

    .gallery-text-content h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        text-align: center;
        line-height: 1.1;
    }

    .gallery-text-content p {
        font-size: clamp(1rem, 3vw, 1.1rem);
        margin-bottom: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
        line-height: 1.5;
    }

    .gallery-wrap {
        grid-template-columns: 1fr;
        grid-auto-rows: clamp(18rem, 45vw, 22rem);
        gap: clamp(0.75rem, 2vw, 1rem);
        padding: 0 clamp(1rem, 4vw, 1.5rem);
    }

    /* Mobile grid layout - single column */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .gallery-item {
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
        overflow: hidden;
    }

    .gallery-item img {
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
    }

    .ig-link {
        width: clamp(2.5rem, 6vw, 3rem);
        height: clamp(2.5rem, 6vw, 3rem);
    }

    .ig-link svg {
        width: clamp(2.5rem, 6vw, 3rem);
        height: clamp(2.5rem, 6vw, 3rem);
    }

    /* Lightbox mobile optimizations */
    .lb img {
        max-width: 95vw;
        max-height: 85vh;
    }

    .lb-close {
        top: clamp(0.5rem, 2vw, 1rem);
        right: clamp(0.5rem, 2vw, 1rem);
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .lb-prev {
        left: clamp(0.5rem, 2vw, 1rem);
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .lb-next {
        right: clamp(0.5rem, 2vw, 1rem);
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .lb-ig {
        bottom: clamp(0.5rem, 2vw, 1rem);
        right: clamp(0.5rem, 2vw, 1rem);
        width: clamp(2.5rem, 6vw, 3rem);
        height: clamp(2.5rem, 6vw, 3rem);
    }

    /* Ensure touch targets are large enough */
    .gallery-item::after {
        background: rgba(0,0,0,.6);
    }

    /* Always show overlay on mobile for better UX */
    .gallery-item::after,
    .gallery-item .ig-link {
        opacity: 0.8;
    }

    .gallery-item .ig-link {
        pointer-events: auto;
    }
}

/* ===== GALLERY SECTION RESPONSIVE - END ===== */

/* Philosophy Section -------> */

.our-philosophy {
    margin-top: -106px;
    padding-top: 246px;
    position: relative;
    overflow: hidden;
    padding-bottom: 150px;
    background-color: black;
  }

  .philosophy-container {
    z-index: 1;
    position: relative;
    max-width: 1316px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    display: block;
  }

  .philo-two-column-grid {
    display: grid;
    grid-row-gap: 0px;
    grid-template-columns: 1fr minmax(550px, 1.1fr);
    align-items: start;
    grid-column-gap: 70px;
    grid-template-rows: auto;
    grid-auto-rows: auto;
    grid-auto-columns: 1fr;
  }

  .our-story-column-left {
    grid-area: span 2 / span 1 / span 2 / span 1;
    align-self: stretch;
    padding-top: 84px;
    padding-bottom: 236px;
  }

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

  .mg-content-area {
    margin-bottom: 42px;
  }

  .inner-container-ph {
    max-width: 540px;
  }

  .text-animation-bottom {
    padding-bottom: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    padding-top: 60px;
  }

  .display-heading-h2 {
    color: white;
    font-size: 72px;
    font-weight: 600;
    line-height: 1em;
    font-family: 'Teko', sans-serif;
    margin-top: 15px;
  }

  .display-no-wrap {
    white-space: nowrap;
  }

  .ph-content-text {
    margin-bottom: 26px;
    color: white;
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.667em;
  }

  .our-story-right-wrapper {
    grid-area: 2 / 2 / 3 / 2;
    min-height: 462px;
    align-items: center;
    width: 100%;
    position: relative;
  }
.fullwidth-right {
    width: 50vw;
    min-width: 590px;
    padding-left: 84px;
    overflow: hidden;
    height: 100%;
    position: absolute;
    inset: 0% auto 0% 0%;
}

.fit-cover-bottom {
    object-fit: cover;
    object-position: 50% 0%;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}

.floating-container-backdrop {
    background-color: #232426;
    height: 80%;
    z-index: -1;
    width: 100%;
    position: absolute;
    inset: 0%;
}

/* ===== PHILOSOPHY SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .our-philosophy {
        margin-top: clamp(-4rem, -8vw, -6rem);
        padding-top: clamp(8rem, 12vw, 12rem);
        padding-bottom: clamp(6rem, 10vw, 8rem);
    }

    .philosophy-container {
        padding-left: clamp(1.5rem, 3vw, 2rem);
        padding-right: clamp(1.5rem, 3vw, 2rem);
    }

    .philo-two-column-grid {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
        grid-row-gap: clamp(3rem, 6vw, 4rem);
    }

    .our-story-column-left {
        grid-area: auto;
        padding-top: 0;
        padding-bottom: 0;
        order: 2;
    }

    .our-story-right-wrapper {
        grid-area: auto;
        min-height: clamp(20rem, 40vw, 25rem);
        order: 1;
    }

    .fullwidth-right {
        width: 100%;
        min-width: auto;
        padding-left: 0;
        position: relative;
        inset: auto;
    }

    .text-animation-bottom {
        padding-top: clamp(2rem, 4vw, 3rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
        text-align: center;
    }

    .display-heading-h2 {
        font-size: clamp(3rem, 6vw, 4.5rem);
        line-height: 1.1;
        text-align: center;
    }

    .inner-container-ph {
        max-width: 100%;
        text-align: center;
    }

    .ph-content-text {
        font-size: clamp(1rem, 2vw, 1.125rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
        text-align: center;
    }

    .mg-content-area {
        margin-bottom: clamp(2rem, 4vw, 3rem);
    }

    .floating-container-backdrop {
        height: 60%;
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .our-philosophy {
        margin-top: clamp(-3rem, -6vw, -4rem);
        padding-top: clamp(6rem, 10vw, 8rem);
        padding-bottom: clamp(4rem, 8vw, 6rem);
    }

    .philosophy-container {
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
    }

    .philo-two-column-grid {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
        grid-row-gap: clamp(2rem, 5vw, 3rem);
    }

    .our-story-column-left {
        grid-area: auto;
        padding-top: 0;
        padding-bottom: 0;
        order: 2;
    }

    .our-story-right-wrapper {
        grid-area: auto;
        min-height: clamp(18rem, 40vw, 22rem);
        order: 1;
        display: none;
    }

    .fullwidth-right {
        width: 100%;
        min-width: auto;
        padding-left: 0;
        position: relative;
        inset: auto;
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
        overflow: hidden;
    }

    .fit-cover-bottom {
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
    }

    .text-animation-bottom {
        padding-top: clamp(2rem, 5vw, 3rem);
        margin-bottom: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
    }

    .display-heading-h2 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        line-height: 1.1;
        text-align: center;
        margin-top: clamp(1rem, 3vw, 1.5rem);
    }

    .display-no-wrap {
        white-space: normal; /* Allow wrapping on mobile */
    }

    .inner-container-ph {
        max-width: 100%;
        text-align: center;
    }

    .ph-content-text {
        font-size: clamp(1rem, 3vw, 1.1rem);
        margin-bottom: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
        line-height: 1.5;
    }

    .mg-content-area {
        margin-bottom: clamp(2rem, 5vw, 3rem);
        text-align: center;
    }

    .floating-container-backdrop {
        height: 50%;
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
        opacity: 0;
    }
}

/* ===== PHILOSOPHY SECTION RESPONSIVE - END ===== */

/* ===== WHY CHOOSE SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .mc-why-choose {
        padding-top: clamp(4rem, 6vw, 6rem);
        padding-bottom: clamp(6rem, 10vw, 8rem);
    }

    .mc-block-sizing-container {
        padding-left: clamp(1.5rem, 3vw, 2rem);
        padding-right: clamp(1.5rem, 3vw, 2rem);
    }

    .mc-video-card {
        max-width: clamp(25rem, 50vw, 35.75rem);
        padding-top: clamp(2rem, 4vw, 2.875rem);
        padding-left: clamp(2rem, 4vw, 3.375rem);
        padding-right: clamp(1rem, 2vw, 1.5rem);
        padding-bottom: clamp(1rem, 2vw, 1.5rem);
        position: relative;
        inset: auto;
        margin: clamp(2rem, 4vw, 3rem) auto 0;
    }

    .mc-heading-text-content h2 {
        font-size: clamp(2.5rem, 5vw, 3.375rem);
        line-height: 1.1;
    }

    .mc-heading-text-content p {
        font-size: clamp(1rem, 2vw, 1.125rem);
        margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    }

    .mc-choose-button {
        padding: clamp(0.875rem, 2vw, 1rem) clamp(1.25rem, 2.5vw, 1.5rem);
        font-size: clamp(1rem, 2vw, 1.125rem);
    }

    .mc-fullwidth-wrapper-left {
        width: 100%;
        height: clamp(25rem, 50vw, 35rem);
        justify-content: center;
    }

    .mc-fullwidth-content-left {
        width: 100%;
        position: relative;
        inset: auto;
    }

    .play-button {
        max-width: clamp(6rem, 12vw, 8rem);
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .mc-why-choose {
        padding-top: clamp(3rem, 6vw, 4rem);
        padding-bottom: clamp(4rem, 8vw, 6rem);
    }

    .mc-block-sizing-container {
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
    }

    .mc-video-flex {
        display: flex;
        flex-direction: column;
        gap: clamp(2rem, 5vw, 3rem);
    }

    .mc-video-card {
        max-width: 100%;
        padding: clamp(1.5rem, 4vw, 2rem);
        position: relative;
        inset: auto;
        margin: 0;
        background-color: #111111;
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
        text-align: center;
    }

    .mc-heading-text-content {
        text-align: center;
    }

    .mc-heading-text-content h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.1;
        text-align: center;
    }

    .mc-heading-text-content p {
        font-size: clamp(1rem, 3vw, 1.1rem);
        margin-bottom: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
    }

    .mc-choose-button {
        padding: clamp(1rem, 3vw, 1.25rem) clamp(1.5rem, 4vw, 2rem);
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        display: inline-block;
        margin: 0 auto;
    }

    .mc-fullwidth-wrapper-left {
        width: 100%;
        height: clamp(20rem, 45vw, 25rem);
        justify-content: center;
        order: -1; /* Move video above text on mobile */
    }

    .mc-fullwidth-content-left {
        width: 100%;
        position: relative;
        inset: auto;
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
        overflow: hidden;
    }

    .mc-video-background-image {
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
    }

    .play-button {
        max-width: clamp(5rem, 12vw, 7rem);
    }

    .mc-video-lightbox-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* ===== WHY CHOOSE SECTION RESPONSIVE - END ===== */

/* ========================================
   MC-WHY-CHOOSE SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.mc-why-choose .mc-video-card {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
}

.mc-why-choose .section-sub-title-wrap {
    opacity: 0;
    transform: translateY(20px);
}

.mc-why-choose .mc-heading-text-content h2 {
    opacity: 0;
    transform: translateY(30px);
}

.mc-why-choose .mc-heading-text-content p {
    opacity: 0;
    transform: translateY(20px);
}

.mc-why-choose #why-choose-button-container {
    opacity: 0;
    transform: translateY(30px);
}

.mc-why-choose .mc-video-background-image {
    opacity: 0;
    transform: scale(1.1);
}

.mc-why-choose .mc-video-background-overlay {
    opacity: 0;
}

.mc-why-choose .mc-video-lightbox-icon {
    opacity: 0;
    transform: scale(0.8);
}

/* Animation keyframes */
@keyframes whyChooseSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

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

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

@keyframes whyChooseImageReveal {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes whyChooseOverlayFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes whyChoosePlayButtonBounce {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes whyChoosePlayButtonPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation classes */
.mc-why-choose .mc-video-card.animate {
    animation: whyChooseSlideInLeft 800ms ease-out forwards;
}

.mc-why-choose .section-sub-title-wrap.animate {
    animation: whyChooseFadeInUp 600ms ease-out forwards;
}

.mc-why-choose .mc-heading-text-content h2.animate {
    animation: whyChooseFadeInUpLarge 700ms ease-out forwards;
}

.mc-why-choose .mc-heading-text-content p.animate {
    animation: whyChooseFadeInUp 600ms ease-out forwards;
}

.mc-why-choose #why-choose-button-container.animate {
    animation: whyChooseFadeInUpLarge 700ms ease-out forwards;
}

.mc-why-choose .mc-video-background-image.animate {
    animation: whyChooseImageReveal 1000ms ease-out forwards;
}

.mc-why-choose .mc-video-background-overlay.animate {
    animation: whyChooseOverlayFade 800ms ease-out 200ms forwards;
}

.mc-why-choose .mc-video-lightbox-icon.animate {
    animation: whyChoosePlayButtonBounce 600ms ease-out forwards;
}

/* Continuous play button pulse animation */
.mc-why-choose .mc-video-lightbox-icon.animate .play-button {
    animation: whyChoosePlayButtonPulse 2s ease-in-out infinite;
}

/* Enhanced hover effects */
.mc-why-choose .mc-video-lightbox-icon:hover .play-button {
    animation: whyChoosePlayButtonPulse 1s ease-in-out infinite;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .mc-why-choose .mc-video-card,
    .mc-why-choose .section-sub-title-wrap,
    .mc-why-choose .mc-heading-text-content h2,
    .mc-why-choose .mc-heading-text-content p,
    .mc-why-choose #why-choose-button-container,
    .mc-why-choose .mc-video-background-image,
    .mc-why-choose .mc-video-background-overlay,
    .mc-why-choose .mc-video-lightbox-icon {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
    
    .mc-why-choose .mc-video-lightbox-icon .play-button {
        animation: none !important;
    }
}

/* Testimonials 2 Section */

.testimonials2 {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    background-color: #111111;
}

.testimonials-padding {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.testimonials2-layout-block-container {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    display: block;
}

.slider-component {
    display: flex;
    gap: 4rem;
    flex-flow: column;
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.slider-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    width: 100%;
    margin-bottom: 2rem;
}

.slider-heading-content {
    flex: 1;
    max-width: 65ch;
}

.slider-heading-arrows {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.testimonials-heading {
    font-family: 'Teko', sans-serif;
    font-size: 3.3575rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 0;
    line-height: 1.22em;
    color: #ffffff;
}

.testimonial2-body-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.6;
    color:#ffffff;
}

.slider {
    display: flex;
    flex-flow: column;
    background-color: #00000000;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    min-height: 27rem;
    position: relative;
    overflow: hidden; /* Hide overflow to create partial visibility effect */
}

.slider-mask {
    display: flex;
    white-space: nowrap;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    width: calc(100% + 11rem); /* Extend beyond container to show partial last card */
    padding-right: 11rem; /* Add padding to show partial last card */
}

.slider-item {
    flex: 0 0 22rem;
    white-space: normal;
}

.slider-testimonial {
    background-color: #f3f2ee;
    border-radius: .5rem;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 30rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.testimonial2-quote {
    display: flex;
    gap: .5rem;
    flex-flow: column;
    flex: 1;
    overflow: hidden;
}

.quote-icon {
    width: 1.2rem;
    margin-bottom: .5rem;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}

.quote-callout {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #2d2b27;
    font-weight: 400;
}

.testimonial-content {
    font-size: .875rem;
    color: #2d2b27;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.5;
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.slider-bottom {
    z-index: 3;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.square-slider-image {
    border-radius: 100%;
    width: 3.5rem;
    height: 3.5rem;
    overflow: hidden;
}

.testimonial2-name {
    font-size: 1rem;
    font-weight: 500;
    white-space: normal;
    text-align: left;
    font-family:'Nunito', sans-serif;
    color: #2d2b27;
}

.member-since-text {
    font-size: 0.875rem;
    font-weight: 300;
    color: #5e745d;
    font-family: 'Nunito', sans-serif;
    line-height: 1.4;
}

/* Slider Navigation in Header */
.left-slider-arrow,
.right-slider-arrow {
    background-color: #ffffff;
    border: 1px solid #d4d1c7;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.left-slider-arrow:hover,
.right-slider-arrow:hover {
    background-color: #ff0000;
    border-color: #ffffff;
}

.left-slider-arrow:hover .slider-arrow-embed,
.right-slider-arrow:hover .slider-arrow-embed {
    color: #ffffff;
}

.slider-arrow-embed {
    color: #111111;
    transition: color 0.3s ease;
}

/* ===== TESTIMONIALS SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .testimonials2 .slider-component {
        padding-top: clamp(6rem, 8vw, 10rem);
        padding-bottom: clamp(6rem, 8vw, 10rem);
        gap: clamp(2.5rem, 4vw, 4rem);
    }

    .testimonials2 .testimonials-padding {
        padding-left: clamp(1.5rem, 3vw, 2.5rem);
        padding-right: clamp(1.5rem, 3vw, 2.5rem);
    }

    .testimonials2 .slider-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }

    .testimonials2 .slider-heading-content {
        max-width: 100%;
    }

    .testimonials2 .testimonials-heading {
        font-size: clamp(2.5rem, 4vw, 3.375rem);
        text-align: left;
    }

    .testimonials2 .testimonial2-body-text {
        font-size: clamp(1rem, 2vw, 1.2rem);
        text-align: left;
    }

    .testimonials2 .slider-heading-arrows {
        align-self: flex-end;
    }

    .testimonials2 .slider-mask {
        gap: clamp(1rem, 2vw, 1.5rem);
        width: calc(100% + 6rem);
        padding-right: 6rem;
    }

    .testimonials2 .slider-item {
        flex: 0 0 clamp(18rem, 45vw, 22rem);
    }

    .testimonials2 .slider-testimonial {
        height: clamp(26rem, 35vw, 30rem);
        padding: clamp(1rem, 2vw, 1.5rem);
        border-radius: clamp(0.5rem, 1vw, 0.75rem);
    }

    .testimonials2 .quote-callout {
        font-size: clamp(1.2rem, 2.5vw, 1.5rem);
        line-height: 1.4;
    }

    .testimonials2 .testimonial-content {
        font-size: clamp(0.8rem, 1.5vw, 0.875rem);
        line-height: 1.5;
    }

    .testimonials2 .testimonial2-name {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
    }

    .testimonials2 .member-since-text {
        font-size: clamp(0.8rem, 1.5vw, 0.875rem);
    }

    .testimonials2 .left-slider-arrow,
    .testimonials2 .right-slider-arrow {
        width: clamp(2.5rem, 5vw, 3rem);
        height: clamp(2.5rem, 5vw, 3rem);
    }

    .testimonials2 .square-slider-image {
        width: clamp(3rem, 5vw, 3.5rem);
        height: clamp(3rem, 5vw, 3.5rem);
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .testimonials2 .slider-component {
        padding-top: clamp(4rem, 8vw, 6rem);
        padding-bottom: clamp(4rem, 8vw, 6rem);
        gap: clamp(2rem, 4vw, 3rem);
    }

    .testimonials2 .testimonials-padding {
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
    }

    .testimonials2 .slider-heading {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }

    .testimonials2 .slider-heading-content {
        max-width: 100%;
        text-align: center;
    }

    .testimonials2 .testimonials-heading {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.1;
        text-align: center;
    }

    .testimonials2 .testimonial2-body-text {
        font-size: clamp(1rem, 3vw, 1.1rem);
        text-align: center;
    }

    .testimonials2 .slider-heading-arrows {
        align-self: center;
    }

    .testimonials2 .slider {
        min-height: auto;
    }

    .testimonials2 .slider-mask {
        gap: clamp(1rem, 3vw, 1.5rem);
        width: calc(100% + 2rem);
        padding-right: 2rem;
    }

    .testimonials2 .slider-item {
        flex: 0 0 calc(100vw - clamp(3rem, 8vw, 4rem));
    }

    .testimonials2 .slider-testimonial {
        height: auto;
        min-height: clamp(24rem, 50vw, 28rem);
        padding: clamp(1.25rem, 3vw, 1.5rem);
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
    }

    .testimonials2 .testimonial2-quote {
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .testimonials2 .quote-icon {
        width: clamp(1rem, 2.5vw, 1.2rem);
        margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .testimonials2 .quote-callout {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        line-height: 1.3;
    }

    .testimonials2 .testimonial-content {
        font-size: clamp(0.85rem, 2.5vw, 0.9rem);
        line-height: 1.4;
        margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .testimonials2 .slider-bottom {
        gap: clamp(0.75rem, 2vw, 1rem);
        margin-top: clamp(1rem, 2.5vw, 1.25rem);
    }

    .testimonials2 .testimonial2-name {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    .testimonials2 .member-since-text {
        font-size: clamp(0.8rem, 2vw, 0.875rem);
    }

    .testimonials2 .left-slider-arrow,
    .testimonials2 .right-slider-arrow {
        width: clamp(2.5rem, 6vw, 3rem);
        height: clamp(2.5rem, 6vw, 3rem);
    }

    .testimonials2 .square-slider-image {
        width: clamp(2.5rem, 6vw, 3.5rem);
        height: clamp(2.5rem, 6vw, 3.5rem);
    }

    /* Ensure slider functionality works on mobile */
    .testimonials2 .slider-mask {
        touch-action: pan-x;
    }
}

/* ===== TESTIMONIALS SECTION RESPONSIVE - END ===== */

/* FAQ Section */

.faq {
    background-color: #111;
    padding-top: 120px;
    padding-bottom: 120px;
}

.faq-container {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

.faq-inner-container {
    display: flex;
    gap: 60px;
    border-radius: 12px;
    background-color: #131317;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
}

.faq-title-wrapper {
    display: flex;
    border-radius: 12px;
    background-color: #000;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 424px;
    padding: 40px;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}

.faq-section-title {
    border-radius: 5px;
    background-color: #fb0000;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-bottom: 20px;
    padding: 4px 15px;
    font-size: 18px;
    line-height: 1.5em;
    font-family: 'Nunito', sans-serif;
    color: #ffffff;
    font-weight: 400;
}

.faq-heading {
    font-family: 'Teko', sans-serif;
    color: #ffffff;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
}

.faq-dropdown-wrapper-w-tabs {
    width: 100%;
    max-width: 696px;
    position: relative;
}

.tablist {
    display: flex;
    flex-flow: column;
    gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
}

.faq-accordion {
    background-color: #000;
    border: 1px solid #414141;
    cursor: pointer;
    display: flex;
    flex-flow: column;
    width: 100%;
    padding: 8px 0;
    transition: border-color .3s;
    overflow: hidden;
    vertical-align: top;
    text-align: left;
    color: #222;
    text-decoration: none;
    position: relative;
    max-width: 100%;
}

.faq-accordion:hover {
    border-color: #e3e3e3;
}

.faq-accordion:focus {
    border-color: #e3e3e3;
}

.accordion-switch {
    white-space: pre-wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 17px 16px 30px;
    display: flex;
}

.faq-box-title {
    color: #ffffff;
    text-transform: capitalize;
    font-size: 18px;
    font-weight: 600;
    line-height: 21.6px;
    transition: color .2s;
    font-family: 'Nunito', sans-serif;
}

.dropdown-cross-animation {
    transform-style: preserve-3d;
    background-color: #fff0;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    transition: transform .3s;
    display: flex;
}

.plus-sign-vertical {
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(90deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    background-color: #ffffff;
    width: 18px;
    height: 2px;
    border-radius: 20px;
    position: absolute;
    transition: transform 0.3s ease;
}

.plus-sign {
    background-color: #ffffff;
    border-radius: 20px;
    width: 18px;
    height: 2px;
    position: absolute;
    transition: transform 0.3s ease;
}

.accordion-body {
    transform: translate3d(0px, 10px, 0px) scale3d(0.96, 0.96, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    opacity: 0;
    width: 694px;
    height: 0px;
    background-color: #fff0;
    padding-left: 30px;
    padding-right: 50px;
    display: flex;
    position: static;
    overflow: hidden;
    transition: height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.description {
    color: #e9e9e9;
    max-width: none;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 24px;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
}

.hidden-tab-content {
    display: none;
    position: relative;
    overflow: hidden;
}

.tab-active {
    opacity: 1;
    transition: all, opacity 300ms;
    display: block;
    position: relative;
}

.tab-pane-hidden {
    display: none;
    position: relative;
}

/* =========================================================
   FAQ Background Animation (scoped to section)
   ========================================================= */

/* make the section a containing block & clip beams to it */
.faq {
    position: relative;
    overflow: hidden;
}

/* 5 evenly spaced tracks that fill the entire section */
.faq-background-lines {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* CHANGED: 5 columns */
    pointer-events: none;
    z-index: 0; /* behind content (faq-container has z-index:1) */
}

/* draw faint vertical rails centered in each grid cell */
.faq-background-lines .beam-track {
    position: relative;
}
.faq-background-lines .beam-track::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.09);
}

/* the moving "laser" — computed relative to the SECTION (via top %) */
.faq-background-lines .beam {
    position: absolute;
    left: 50%;
    top: 0%;                 /* START exactly at the section ceiling */
    transform: translateX(-50%);
    width: 2px;
    height: 2%;             /* beam length relative to section height */
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.95), rgba(255,255,255,0));
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
    animation: faqBeamScan 9s linear infinite;
}

/* stagger each of the 5 tracks for a natural cadence */
.faq-background-lines .beam-track:nth-child(1) .beam { animation-duration: 8s;   animation-delay: 0s;   }
.faq-background-lines .beam-track:nth-child(2) .beam { animation-duration: 10s;  animation-delay: 0.6s; }
.faq-background-lines .beam-track:nth-child(3) .beam { animation-duration: 12s;  animation-delay: 1.1s; }
.faq-background-lines .beam-track:nth-child(4) .beam { animation-duration: 9.5s; animation-delay: 0.2s; }
.faq-background-lines .beam-track:nth-child(5) .beam { animation-duration: 11s;  animation-delay: 0.9s; }

@keyframes faqBeamScan {
    /* Move from the very top of the SECTION to beyond the bottom */
    0%   { top: 0%; }     /* top-aligned to the section ceiling */
    100% { top: 100%; }   /* beam's top reaches section floor (the tail exits) */
}

/* ===== FAQ SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .faq {
        padding-top: clamp(6rem, 10vw, 8rem);
        padding-bottom: clamp(6rem, 10vw, 8rem);
    }

    .faq-container {
        padding-left: clamp(1.5rem, 3vw, 2rem);
        padding-right: clamp(1.5rem, 3vw, 2rem);
    }

    .faq-inner-container {
        flex-direction: column;
        gap: clamp(2rem, 4vw, 3rem);
        padding: clamp(2.5rem, 4vw, 3rem) clamp(2rem, 3vw, 2.5rem);
    }

    .faq-title-wrapper {
        max-width: 100%;
        position: relative;
        top: auto;
        padding: clamp(2rem, 3vw, 2.5rem);
        text-align: center;
        align-items: center;
    }

    .faq-section-title {
        padding: clamp(0.25rem, 1vw, 0.5rem) clamp(1rem, 2vw, 1.25rem);
        font-size: clamp(1rem, 2vw, 1.125rem);
        margin-bottom: clamp(1rem, 2vw, 1.25rem);
    }

    .faq-heading {
        font-size: clamp(2.5rem, 5vw, 3rem);
        line-height: clamp(2.8rem, 5.5vw, 3.5rem);
        text-align: center;
    }

    .faq-dropdown-wrapper-w-tabs {
        max-width: 100%;
    }

    .tablist {
        gap: clamp(0.75rem, 1.5vw, 1rem);
    }

    .faq-accordion {
        border-radius: clamp(0.5rem, 1vw, 0.75rem);
    }

    .accordion-switch {
        padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.5rem);
    }

    .faq-box-title {
        font-size: clamp(1rem, 2vw, 1.125rem);
        line-height: clamp(1.2rem, 2.5vw, 1.4rem);
    }

    .dropdown-cross-animation {
        width: clamp(1.25rem, 2.5vw, 1.5rem);
        height: clamp(1.25rem, 2.5vw, 1.5rem);
    }

    .plus-sign,
    .plus-sign-vertical {
        width: clamp(1rem, 2vw, 1.125rem);
        height: clamp(0.125rem, 0.25vw, 0.15rem);
    }

    .accordion-body {
        width: 100%;
        padding-left: clamp(1rem, 2vw, 1.5rem);
        padding-right: clamp(1rem, 2vw, 1.5rem);
    }

    .description {
        font-size: clamp(0.9rem, 1.8vw, 1rem);
        line-height: clamp(1.3rem, 2.5vw, 1.5rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }

    /* Background animation adjustments for tablet */
    .faq-background-lines {
        grid-template-columns: repeat(4, 1fr);
    }

    .faq-background-lines .beam {
        height: 3%;
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .faq {
        padding-top: clamp(4rem, 8vw, 6rem);
        padding-bottom: clamp(4rem, 8vw, 6rem);
    }

    .faq-container {
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
    }

    .faq-inner-container {
        flex-direction: column;
        gap: clamp(2rem, 5vw, 3rem);
        padding: clamp(1.5rem, 4vw, 2rem);
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
    }

    .faq-title-wrapper {
        max-width: 100%;
        position: relative;
        top: auto;
        padding: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
        align-items: center;
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
    }

    .faq-section-title {
        padding: clamp(0.25rem, 1vw, 0.5rem) clamp(1rem, 3vw, 1.25rem);
        font-size: clamp(1rem, 3vw, 1.1rem);
        margin-bottom: clamp(1rem, 3vw, 1.25rem);
        border-radius: clamp(0.25rem, 1vw, 0.375rem);
    }

    .faq-heading {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: clamp(2.2rem, 6.5vw, 2.8rem);
        text-align: center;
    }

    .faq-dropdown-wrapper-w-tabs {
        max-width: 100%;
    }

    .tablist {
        gap: clamp(0.75rem, 2vw, 1rem);
    }

    .faq-accordion {
        border-radius: clamp(0.5rem, 2vw, 0.75rem);
        border-width: clamp(1px, 0.25vw, 2px);
    }

    .faq-accordion:hover,
    .faq-accordion:focus {
        border-color: #ff0000;
    }

    .accordion-switch {
        padding: clamp(1rem, 3vw, 1.25rem);
        gap: clamp(0.5rem, 2vw, 0.75rem);
    }

    .faq-box-title {
        font-size: clamp(1rem, 3vw, 1.1rem);
        line-height: clamp(1.2rem, 3.5vw, 1.3rem);
        text-align: left;
        flex: 1;
    }

    .dropdown-cross-animation {
        width: clamp(1.5rem, 4vw, 2rem);
        height: clamp(1.5rem, 4vw, 2rem);
        flex-shrink: 0;
    }

    .plus-sign,
    .plus-sign-vertical {
        width: clamp(1rem, 3vw, 1.25rem);
        height: clamp(0.125rem, 0.5vw, 0.15rem);
    }

    .accordion-body {
        width: 100%;
        padding-left: clamp(1rem, 3vw, 1.25rem);
        padding-right: clamp(1rem, 3vw, 1.25rem);
        padding-bottom: clamp(1rem, 3vw, 1.25rem);
    }

    .description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: clamp(1.3rem, 3.5vw, 1.5rem);
        margin-bottom: clamp(1.5rem, 4vw, 2rem);
        text-align: left;
    }

    /* Background animation adjustments for mobile */
    .faq-background-lines {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-background-lines .beam-track::before {
        opacity: 0.5;
    }

    .faq-background-lines .beam {
        height: 4%;
        width: 1px;
    }

    /* Enhanced touch targets for mobile */
    .faq-accordion {
        min-height: clamp(3rem, 8vw, 4rem);
    }

    .accordion-switch {
        min-height: clamp(3rem, 8vw, 4rem);
        align-items: center;
    }

    /* Ensure proper accordion functionality on mobile */
    .faq-accordion:focus-within {
        border-color: #ff0000;
        outline: none;
    }

    .faq-accordion:active {
        background-color: #1a1a1a;
    }
}

/* ===== FAQ SECTION RESPONSIVE - END ===== */

/* ==== CTA Section - Start ==== */

.cta-section {
    color: #ffffff;
    flex-flow: column;
    height: 95vh;
    min-height: 720px;
    padding-top: 24px;
    padding-bottom: 24px;
    display: flex;
    position: relative;
    overflow: hidden;
    background-image: url('https://rivercitywarrior.com/wp-content/uploads/2025/09/Cristian-kicking-Thai-Paids-with-Juan-stylized.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.cta-container {
    z-index: 2;
    flex-flow: column;
    flex: 1;
    width: 100%;
    max-width: 1648px;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.cta-content {
    display: flex;
    gap: 24px;
    flex-flow: column;
    flex: 1;
    justify-content: space-between;
    padding-top: 80px;
}

.cta-heading {
    max-width: 600px;
    font-size: 80px;
    line-height: 108%;
    font-weight: 900;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Teko', sans-serif;
}

.cta-info-right {
    display: grid;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-template-columns: 7fr 5fr;
    grid-auto-columns: 1fr;
    justify-content: flex-end;
    align-items: flex-end;
}

.cta-info-block {
    grid-area: 1 / 2 / 2 / 3;
    display: flex;
    gap: 56px;
    border: 1px solid #fff1de1f;
    border-radius: 16px;
    background-color: #fff1de1f;
    backdrop-filter: blur(10px);
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.cta-info-block-text {
    max-width: 400px;
    font-size: 24px;
    line-height: 120%;
    font-weight: 300;
    letter-spacing: -.03em;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Nunito', sans-serif;
}

.button-eyebrow-text {
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    line-height: 120%;
    font-weight: 300;
    letter-spacing: -.03em;
    width: 100%;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #ff0000;
}

/* ===== CTA SECTION RESPONSIVE - START ===== */

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    .cta-section {
        height: 90vh;
        min-height: clamp(35rem, 60vw, 45rem);
        padding-top: clamp(1.5rem, 3vw, 2rem);
        padding-bottom: clamp(1.5rem, 3vw, 2rem);
        background-position: center top;
    }

    .cta-container {
        padding-left: clamp(1.5rem, 3vw, 2rem);
        padding-right: clamp(1.5rem, 3vw, 2rem);
    }

    .cta-content {
        gap: clamp(1.5rem, 3vw, 2rem);
    }

    .cta-heading {
        font-size: clamp(3.5rem, 7vw, 5rem);
        line-height: 1.1;
        max-width: 100%;
    }

    .cta-info-right {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 3vw, 2rem);
    }

    .cta-info-block {
        grid-area: auto;
        gap: clamp(2rem, 4vw, 3rem);
        padding: clamp(1.5rem, 3vw, 2rem);
        border-radius: clamp(0.75rem, 2vw, 1rem);
    }

    .cta-info-block-text {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem);
        max-width: 100%;
    }

    .button-eyebrow-text {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    }
}

/* Mobile styles (below 768px) */
@media screen and (max-width: 767px) {
    .cta-section {
        height: auto;
        min-height: clamp(30rem, 70vw, 40rem);
        padding-top: clamp(2rem, 5vw, 3rem);
        padding-bottom: clamp(2rem, 5vw, 3rem);
        background-position: center top;
    }

    .cta-container {
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
    }

    .cta-content {
        gap: clamp(2rem, 5vw, 3rem);
        text-align: center;
        align-items: center;
    }

    .cta-heading {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        line-height: 1.1;
        max-width: 100%;
        text-align: center;
    }

    .cta-info-right {
        grid-template-columns: 1fr;
        gap: 0;
        justify-content: center;
        align-items: center;
    }

    .cta-info-block {
        grid-area: auto;
        gap: clamp(1.5rem, 4vw, 2rem);
        padding: clamp(1.5rem, 4vw, 2rem);
        border-radius: clamp(0.75rem, 2vw, 1rem);
        text-align: center;
        align-items: center;
        max-width: 100%;
    }

    .cta-info-block-text {
        font-size: clamp(1rem, 3vw, 1.25rem);
        max-width: 100%;
        text-align: center;
    }

    .button-eyebrow-text {
        font-size: clamp(1rem, 3vw, 1.25rem);
        text-align: center;
    }

    .cta-button-container-area {
        width: 100%;
        text-align: center;
    }

    #cta-button-container {
        justify-content: center;
    }
}

/* ===== CTA SECTION RESPONSIVE - END ===== */

/* ========================================
   FINAL RESPONSIVE OPTIMIZATIONS
   ======================================== */

/* Additional cross-browser compatibility and performance optimizations */
@media screen and (max-width: 1024px) {
    /* Improve scroll performance on touch devices */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Optimize font rendering on smaller screens */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Ensure proper touch action for interactive elements */
    button, 
    a, 
    .faq-accordion,
    .services-card-wrap,
    .learning-card,
    .gallery-item {
        touch-action: manipulation;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable FAQ background animations for users who prefer reduced motion */
    .faq-background-lines .beam {
        animation: none;
        opacity: 0.3;
    }
}

/* Print styles for better document printing */
@media print {
    /* Hide interactive elements that don't make sense in print */
    .hero-orange-button,
    .mc-inline-button-style,
    .primary-button-services,
    .mc-choose-button,
    .slider-heading-arrows,
    .faq-background-lines {
        display: none !important;
    }
    
    /* Ensure proper text contrast for printing */
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    /* Optimize spacing for print */
    .hero2,
    .our-commitment,
    .learning-section,
    .about-us-section,
    .services-section,
    .gallery,
    .our-philosophy,
    .testimonials2,
    .faq {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        page-break-inside: avoid;
    }
}

/* ========================================
   MOBILE BUTTON CENTERING FIX
   ======================================== */

/* Center the why-choose button on mobile devices */
@media screen and (max-width: 767px) {
    #why-choose-button-container {
        justify-content: center;
    }
}

/* Center the philosophy button on mobile devices */
@media screen and (max-width: 767px) {
    #philosphy-button-container {
        justify-content: center;
    }
}

/* ========================================
   HERO2 SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.hero2 .eyebrow {
    opacity: 0;
    transform: translateY(20px);
}

.hero2 .left-content-wrapper h1 {
    opacity: 0;
    transform: translateX(-50px);
}

.hero2 .hero-text2 {
    opacity: 0;
    transform: translateX(-50px);
}

.hero2 #hero2-button-container {
    opacity: 0;
    transform: translateX(-50px);
}

.hero2 .hero2-features-list .feature-item {
    opacity: 0;
    transform: translateX(-30px);
}

.hero2 .shape-decor.hero-section {
    opacity: 0;
    transform: translateX(100px);
}

.hero2 .w-layout-grid.grid._2-5---1-col {
    opacity: 0;
    transform: translateY(50px);
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes fadeInLeftFeature {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation classes */
.hero2 .eyebrow.animate {
    animation: fadeInUp 800ms ease-out forwards;
}

.hero2 .left-content-wrapper h1.animate {
    animation: fadeInLeft 1000ms ease-out 600ms forwards;
}

.hero2 .hero-text2.animate {
    animation: fadeInLeft 1000ms ease-out 700ms forwards;
}

.hero2 #hero2-button-container.animate {
    animation: fadeInLeft 1200ms ease-out 800ms forwards;
}

.hero2 .hero2-features-list .feature-item.animate:nth-child(1) {
    animation: fadeInLeftFeature 800ms ease-out 1000ms forwards;
}

.hero2 .hero2-features-list .feature-item.animate:nth-child(2) {
    animation: fadeInLeftFeature 800ms ease-out 1150ms forwards;
}

.hero2 .hero2-features-list .feature-item.animate:nth-child(3) {
    animation: fadeInLeftFeature 800ms ease-out 1300ms forwards;
}

.hero2 .shape-decor.hero-section.animate {
    animation: fadeInRight 1400ms ease-out 700ms forwards;
}

.hero2 .w-layout-grid.grid._2-5---1-col.animate {
    animation: fadeInUpGrid 1000ms ease-out 1200ms forwards;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero2 .eyebrow,
    .hero2 .left-content-wrapper,
    .hero2 #hero2-button-container,
    .hero2 .hero2-features-list .feature-item,
    .hero2 .shape-decor.hero-section,
    .hero2 .w-layout-grid.grid._2-5---1-col {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

/* ========================================
   OUR COMMITMENT SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.our-commitment .mc-flex-horizontal {
    opacity: 0;
    transform: translateX(-50px);
}

.our-commitment .container-inner-justify-center {
    opacity: 0;
    transform: translateX(50px);
}

/* Animation keyframes */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Animation classes */
.our-commitment .mc-flex-horizontal.animate {
    animation: slideInFromLeft 1000ms ease-out forwards;
}

.our-commitment .container-inner-justify-center.animate {
    animation: slideInFromRight 1000ms ease-out forwards;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .our-commitment .mc-flex-horizontal,
    .our-commitment .container-inner-justify-center {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

/* ========================================
   LEARNING SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.learning-section .heading-content-wrapper {
    opacity: 0;
    transform: translateX(-50px);
}

.learning-section .learning-classes-link {
    opacity: 0;
    transform: translateX(50px);
}

.learning-section .learning-card {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation keyframes */
@keyframes slideInFromLeftHeading {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Animation classes */
.learning-section .heading-content-wrapper.animate {
    animation: slideInFromLeftHeading 700ms ease-out forwards;
}

.learning-section .learning-classes-link.animate {
    animation: slideInFromRightLink 700ms ease-out forwards;
}

.learning-section .learning-card.animate {
    animation: slideUpFadeIn 600ms ease-out forwards;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .learning-section .heading-content-wrapper,
    .learning-section .learning-classes-link,
    .learning-section .learning-card {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

/* ========================================
   SERVICES SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.services-section .services-title-area {
    opacity: 0;
    transform: translateX(-50px);
}

.services-section .services-card-wrap {
    opacity: 0;
    transform: translateY(40px);
}

.services-section .services-icon-wrap .material-symbols-outlined {
    opacity: 0;
    transform: scale(0.8);
}

.services-section .transformation-text {
    opacity: 0;
    transform: translateY(20px);
}

.services-section .services-title {
    opacity: 0;
    transform: translateY(15px);
}

.services-section .services-content {
    opacity: 0;
    transform: translateY(15px);
}

.services-section .services-overlay-image {
    opacity: 0;
    transform: scale(1.1);
}

/* Animation keyframes */
@keyframes servicesTitleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes servicesIconScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes servicesOverlayReveal {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation classes */
.services-section .services-title-area.animate {
    animation: servicesTitleSlideIn 700ms ease-out forwards;
}

.services-section .services-card-wrap.animate {
    animation: servicesCardSlideUp 600ms ease-out forwards;
}

.services-section .services-icon-wrap .material-symbols-outlined.animate {
    animation: servicesIconScale 500ms ease-out forwards;
}

.services-section .transformation-text.animate {
    animation: servicesTextFadeUp 400ms ease-out forwards;
}

.services-section .services-title.animate {
    animation: servicesTextFadeUp 400ms ease-out forwards;
}

.services-section .services-content.animate {
    animation: servicesTextFadeUp 400ms ease-out forwards;
}

.services-section .services-overlay-image.animate {
    animation: servicesOverlayReveal 1000ms ease-out forwards;
}

/* ========================================
   OUR PHILOSOPHY SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.our-philosophy .our-story-column-left {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
}

.our-philosophy .text-animation-bottom {
    opacity: 0;
    transform: translateY(40px);
}

.our-philosophy .ph-content-text {
    opacity: 0;
    transform: translateY(30px);
}

.our-philosophy #philosphy-button-container {
    opacity: 0;
    transform: translateY(30px);
}

.our-philosophy .our-story-right-wrapper {
    opacity: 0;
    transform: translateX(50px);
}

.our-philosophy .floating-container-backdrop {
    opacity: 0;
    transform: scale(0.9);
}

/* Animation keyframes */
@keyframes philosophyImageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

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

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

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

@keyframes philosophyBackdropScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation classes */
.our-philosophy .our-story-column-left.animate {
    animation: philosophyImageSlideIn 800ms ease-out forwards;
}

.our-philosophy .text-animation-bottom.animate {
    animation: philosophyContentFadeUp 700ms ease-out forwards;
}

.our-philosophy .ph-content-text.animate {
    animation: philosophyTextFadeUp 600ms ease-out forwards;
}

.our-philosophy #philosphy-button-container.animate {
    animation: philosophyTextFadeUp 600ms ease-out forwards;
}

.our-philosophy .our-story-right-wrapper.animate {
    animation: philosophyRightSlideIn 800ms ease-out forwards;
}

.our-philosophy .floating-container-backdrop.animate {
    animation: philosophyBackdropScale 1000ms ease-out forwards;
}

/* ========================================
   TESTIMONIALS2 SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.testimonials2 .slider-heading-content {
    opacity: 0;
    transform: translateY(-30px);
}

.testimonials2 .slider-heading-arrows {
    opacity: 0;
    transform: translateY(-20px);
}

.testimonials2 .slider-item {
    opacity: 0;
    transform: translateY(40px);
}

/* Animation keyframes */
@keyframes testimonialsHeaderFadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Animation classes */
.testimonials2 .slider-heading-content.animate {
    animation: testimonialsHeaderFadeDown 700ms ease-out forwards;
}

.testimonials2 .slider-heading-arrows.animate {
    animation: testimonialsArrowsFadeDown 600ms ease-out 200ms forwards;
}

.testimonials2 .slider-item.animate {
    animation: testimonialsCardSlideUp 600ms ease-out forwards;
}

/* ========================================
   GALLERY SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.gallery .gallery-text-content {
    opacity: 0;
    transform: translateY(-30px);
}

.gallery .gallery-item {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

/* Animation keyframes */
@keyframes galleryHeaderSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Animation classes */
.gallery .gallery-text-content.animate {
    animation: galleryHeaderSlideDown 700ms ease-out forwards;
}

.gallery .gallery-item.animate {
    animation: galleryItemReveal 600ms ease-out forwards;
}

/* ========================================
   FAQ SECTION ANIMATIONS
   ======================================== */

/* Initial hidden states for animated elements */
.faq .faq-title-wrapper {
    opacity: 0;
    transform: translateX(-50px);
}

.faq .faq-accordion {
    opacity: 0;
    transform: translateY(30px);
}

/* Animation keyframes */
@keyframes faqTitleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Animation classes */
.faq .faq-title-wrapper.animate {
    animation: faqTitleSlideIn 700ms ease-out forwards;
}

.faq .faq-accordion.animate {
    animation: faqAccordionSlideUp 500ms ease-out forwards;
}

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

/* Initial hidden states for animated elements */
.cta-section .cta-heading {
    opacity: 0;
    transform: translateY(40px);
}

.cta-section .cta-info-block {
    opacity: 0;
    transform: translateY(50px);
}

/* Animation keyframes */
@keyframes ctaHeadingFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Animation classes */
.cta-section .cta-heading.animate {
    animation: ctaHeadingFadeUp 800ms ease-out forwards;
}

.cta-section .cta-info-block.animate {
    animation: ctaInfoBlockSlideUp 700ms ease-out 300ms forwards;
}

/* Respect user's motion preferences for all new animations */
@media (prefers-reduced-motion: reduce) {
    .services-section .services-title-area,
    .services-section .services-card-wrap,
    .services-section .services-icon-wrap .material-symbols-outlined,
    .services-section .transformation-text,
    .services-section .services-title,
    .services-section .services-content,
    .services-section .services-overlay-image,
    .our-philosophy .our-story-column-left,
    .our-philosophy .text-animation-bottom,
    .our-philosophy .ph-content-text,
    .our-philosophy #philosphy-button-container,
    .our-philosophy .our-story-right-wrapper,
    .our-philosophy .floating-container-backdrop,
    .testimonials2 .slider-heading-content,
    .testimonials2 .slider-heading-arrows,
    .testimonials2 .slider-item,
    .gallery .gallery-text-content,
    .gallery .gallery-item,
    .faq .faq-title-wrapper,
    .faq .faq-accordion,
    .cta-section .cta-heading,
    .cta-section .cta-info-block {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
}

/* Mobile safeguard: make key images visible even if animations don't fire */
@media screen and (max-width: 767px) {
  .about-us-section .about-image-1,
  .about-us-section .about-image-2,
  .about-us-section .about-image-3,
  .learning-card-image,
  .gallery-item img {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ========================================
   RESPONSIVE IMPLEMENTATION COMPLETE
   ======================================== */