/* Modern Corporate Widget Suite */

.ttm-corporate-reveal-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 30px;
}

.ttm-reveal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
    /* Initial state for reveal */
}

.ttm-reveal-text-container {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
}

.ttm-reveal-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.2);
    /* For zoom-out effect */
}

/* Logo Marquee */
.ttm-logo-marquee-wrap {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
}

.ttm-logo-marquee-track {
    display: flex;
    gap: 80px;
    will-change: transform;
}

.ttm-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttm-logo-item img {
    max-height: 50px;
    width: auto;
    filter: grayscale(1) opacity(0.6);
    transition: all 0.3s ease;
}

.ttm-logo-item:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

/* Modern Accordion Showcase */
.ttm-modern-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.ttm-accordion-item {
    border-bottom: 1px solid #eee;
    padding: 25px 0;
    cursor: pointer;
    overflow: hidden;
}

.ttm-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ttm-accordion-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    transition: color 0.3s ease;
}

.ttm-accordion-item.active .ttm-accordion-title {
    color: var(--ttm-accent, #0066FF);
}

.ttm-accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.ttm-accordion-item.active .ttm-accordion-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
}

.ttm-accordion-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .ttm-accordion-inner {
        grid-template-columns: 1fr;
    }
}

/* Reveal Image Widget */
.ttm-reveal-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    line-height: 0;
}

.ttm-reveal-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ttm-reveal-image-inner {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.ttm-reveal-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reveal Heading Widget */
.ttm-reveal-heading-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ttm-reveal-text-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.ttm-reveal-heading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ttm-reveal-heading-text {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* GSAP Smooth Capsule Button */
.ttm-smooth-btn-wrap {
    display: inline-flex;
    align-items: center;
    gap: var(--btn-gap, 8px);
    cursor: pointer;
    position: relative;
    opacity: 1;
    visibility: visible;
    text-decoration: none;
    user-select: none;
    /* Default Variables */
    --btn-bg: #333;
    --btn-color: #fff;
    --btn-hover-bg: #fff;
    --btn-hover-color: #000;
}

.ttm-smooth-btn-wrap .btn-capsule {
    background: var(--btn-bg);
    color: var(--btn-color);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease, color 0.4s ease;
}

.ttm-smooth-btn-wrap .btn-circle {
    width: 48px;
    height: 48px;
    background: var(--btn-bg);
    color: var(--btn-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.4s ease, color 0.4s ease;
}

.ttm-smooth-btn-wrap .btn-circle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.4s ease;
}

/* GSAP Smooth Capsule Button Hover fallback */
.ttm-smooth-btn-wrap:hover .btn-capsule,
.ttm-smooth-btn-wrap:hover .btn-circle {
    background: var(--btn-hover-bg);
    color: var(--btn-hover-color);
}

/* Split Text Animation Helpers */
.ttm-split-char,
.ttm-split-word {
    display: inline-block;
    white-space: pre;
    will-change: transform, opacity;
}

.ttm-overflow-hidden {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}

/* Specific Reveal Heading Wrapper */
.ttm-reveal-heading-wrapper {
    overflow: hidden;
}

.ttm-reveal-text-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* GSAP Text Effects Widget */
.ttm-gsap-text-wrap {
    perspective: 1000px;
}

.ttm-mask-content {
    will-change: width, height, clip-path, border-radius;
}

.ttm-mask-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.ttm-reveal-text-overlay {
    will-change: transform, opacity, filter;
}

/* GSAP Text Effects Widget */
.ttm-gsap-item {
    display: inline-block;
    position: relative;
    transform-style: preserve-3d;
}

/* TTM GSAP Header Styles */
.ttm-gsap-header-wrap {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ttm-header-logo {
    cursor: pointer;
}

.ttm-header-logo-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.5px;
}

.ttm-header-logo-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

.ttm-nav-link {
    transition: color 0.3s ease;
}

.ttm-nav-link:hover {
    color: #4CAF50;
}

.ttm-header-cta {
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.ttm-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.ttm-cta-icon svg {
    transition: transform 0.3s ease;
}

/* Sticky Class (for future JS expansion) */
.ttm-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px 0 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.ttm-gradient-shine {
    background: linear-gradient(90deg, currentColor, #fff, currentColor);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* TTM Feature Grid Premium Styles */
.ttm-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.ttm-feature-item {
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(50px);
}

.ttm-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ttm-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ttm-feature-item:hover .ttm-feature-icon {
    background: #2E7D32;
    color: #ffffff;
    transform: scale(1.1);
}

.ttm-feature-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ttm-feature-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

@media (max-width: 767px) {
    .ttm-feature-grid {
        grid-template-columns: 1fr;
    }

    .ttm-feature-item {
        padding: 30px;
    }
}

/* TTM Bento Grid Styles */
.ttm-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 30px;
    padding: 30px 0;
    align-items: stretch;
}

/* Ensure visibility in Elementor Editor regardless of GSAP */
.elementor-editor-active .ttm-bento-item {
    opacity: 1 !important;
    transform: none !important;
}

.elementor-editor-active .ttm-bento-reveal-overlay {
    display: none !important;
}

.ttm-bento-item {
    /* border-radius handled by Elementor control */
    overflow: hidden;
    position: relative;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    /* min-height handled by Elementor control */
    height: 100%;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.ttm-bento-content,
.ttm-bento-image {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 0;
    align-items: stretch;
}

.ttm-bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.ttm-bento-type-text {
    padding: 60px;
    background: #f7faf3;
    justify-content: flex-start;
}

.ttm-bento-title {
    font-size: 32px;
    font-weight: 900;
    color: #111;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.8px;
}

.ttm-bento-subtitle {
    font-size: 13px;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    opacity: 0.8;
}

.ttm-bento-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 40px;
    font-weight: 500;
}

.ttm-bento-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ttm-bento-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.ttm-check-icon {
    color: #4CAF50;
    font-size: 12px;
    margin-top: 5px;
}

.ttm-team-designation {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px; /* Small gap to name below */
}

.ttm-team-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.ttm-bento-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.ttm-bento-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform: scaleY(1);
    transform-origin: top;
}

.ttm-bento-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    flex: 1;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Ensure Elementor's image wrapper also stretches */
.ttm-bento-image>div {
    width: 100%;
    height: 100%;
}

.ttm-bento-item:hover .ttm-bento-image img {
    transform: scale(1.05);
}

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

    .ttm-bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

@media (max-width: 767px) {
    .ttm-bento-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ttm-bento-type-text {
        padding: 35px;
    }
}

/* TTM Process List Widget */
.ttm-process-list-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
}

.ttm-process-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.ttm-process-number-wrap {
    flex: 0 0 55px;
}

.ttm-process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background-color: #3D7D4B;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ttm-process-content {
    flex: 1;
}

.ttm-process-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #1A242F;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.ttm-process-description {
    font-size: 16px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ttm-process-item {
        gap: 15px;
    }

    .ttm-process-number {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .ttm-process-title {
        font-size: 20px;
    }
}

/* Interactive Stats Section */
.ttm-interactive-stats-section {
    padding: 20px 0;
}

.ttm-interactive-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 30px;
}

.ttm-header-left {
    max-width: 600px;
}

.ttm-section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1A242F;
}

.ttm-section-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.ttm-interactive-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-weight: 700;
    color: #F47B20;
    transition: all 0.3s ease;
}

.ttm-btn-icon {
    width: 40px;
    height: 40px;
    background-color: #F47B20;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ttm-interactive-btn:hover .ttm-btn-icon {
    transform: translateX(5px);
}

/* Stats Grid */
.ttm-interactive-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ttm-stat-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    padding: 35px;
    background-color: #000;
}

.ttm-card-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ttm-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttm-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
    transition: background 0.5s ease;
}

.ttm-card-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttm-card-number {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
    color: #fff;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.ttm-card-number span {
    display: inline-block;
    line-height: 1;
}

.ttm-card-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-top: 5px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.ttm-card-desc {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
    transition: opacity 0.3s ease;
}

.ttm-stat-card:hover .ttm-card-content {
    transform: scale(1.02);
}

.ttm-stat-card:hover .ttm-card-image {
    transform: scale(1.15);
}

.ttm-stat-card:hover .ttm-card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.95) 100%);
}

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

@media (max-width: 767px) {
    .ttm-interactive-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ttm-interactive-stats-grid {
        grid-template-columns: 1fr;
    }

    .ttm-section-title {
        font-size: 32px;
    }
}

/* Interactive Gallery */
.ttm-gallery-grid {
    display: grid;
    gap: 20px;
}

.ttm-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1/1;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
}

.elementor-editor-active .ttm-gallery-item {
    opacity: 1 !important;
    transform: none !important;
}

.ttm-gallery-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.ttm-gallery-image {
    width: 100%;
    height: 100%;
}

.ttm-gallery-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ttm-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease, background 0.4s ease, padding 0.4s ease;
}

.ttm-gallery-info {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ttm-gallery-category {
    font-size: 12px;
    font-weight: 700;
    color: #F47B20;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.ttm-gallery-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.ttm-gallery-item:hover .ttm-gallery-overlay {
    opacity: 1;
}

.ttm-gallery-item:hover .ttm-gallery-info {
    transform: translateY(0);
}

.ttm-gallery-item:hover .ttm-gallery-image img {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .ttm-gallery-overlay {
        opacity: 1;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    }

    .ttm-gallery-info {
        transform: translateY(0);
    }
}

/* Interactive Team */
.ttm-team-grid {
    display: grid;
    gap: 30px;
}

.ttm-team-item {
    position: relative;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.elementor-editor-active .ttm-team-item {
    opacity: 1 !important;
    transform: none !important;
}

.ttm-team-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ttm-team-image-wrap {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.ttm-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ttm-team-item:hover .ttm-team-image img {
    transform: scale(1.1);
}

.ttm-team-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Anchor content to bottom */
    padding: 30px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); /* Default gradient */
}

.ttm-team-item:hover .ttm-team-overlay {
    opacity: 1;
    visibility: visible;
}

.ttm-team-socials {
    display: flex;
    gap: 10px;
}

.ttm-team-social-link {
    width: 40px;
    height: 40px;
    background: #0066FF;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    transform: scale(0);
}

.ttm-team-item:hover .ttm-team-social-link {
    transform: scale(1);
}

/* Staggered scale-in for social links */
.ttm-team-item:hover .ttm-team-social-link:nth-child(1) {
    transition-delay: 0.1s;
}

.ttm-team-item:hover .ttm-team-social-link:nth-child(2) {
    transition-delay: 0.15s;
}

.ttm-team-item:hover .ttm-team-social-link:nth-child(3) {
    transition-delay: 0.2s;
}

.ttm-team-item:hover .ttm-team-social-link:nth-child(4) {
    transition-delay: 0.25s;
}

.ttm-team-social-link:hover {
    background: #004ecc;
    transform: scale(1.1) translateY(-3px) !important;
}

.ttm-team-info {
    padding: 25px;
    text-align: center;
}

.ttm-team-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #333;
}

.ttm-team-designation {
    font-size: 14px;
    color: #666;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bi-directional entrance is handled by JS + initial state */

/* Executive Style Specifics */
.ttm-team-style-executive .ttm-team-item {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: none;
}

.ttm-team-style-executive .ttm-team-item:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.ttm-team-style-executive .ttm-team-image-wrap {
    background: #f0f0f0;
}

.ttm-team-style-executive .ttm-team-overlay {
    background: rgba(255, 255, 255, 0.95);
    align-items: center;
    text-align: center;
    padding: 20px;
    transform: translateY(100%);
    opacity: 1;
}

.ttm-team-style-executive .ttm-team-item:hover .ttm-team-overlay {
    transform: translateY(0);
}

.ttm-team-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.ttm-team-style-executive .ttm-team-social-link {
    background: #333;
}

.ttm-team-style-executive .ttm-team-social-link:hover {
    background: #0066FF;
}

.ttm-team-style-executive .ttm-team-name {
    font-family: inherit;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.ttm-team-style-executive .ttm-team-info {
    padding-top: 20px;
}

/* Modern Style Bio Tweaks (if any) */
.ttm-team-style-modern .ttm-team-bio {
    color: #fff;
    opacity: 0.9;
    font-size: 13px;
    margin-bottom: 15px;
    max-width: 100%;
}

/* /* Certification Style - Image Matching & Premium Refinement */
.ttm-team-style-certification .ttm-team-grid {
    gap: 15px;
}

.ttm-team-style-certification .ttm-team-item {
    background: #fafdff; /* Extra clean white/blue tint */
    border: 1px solid #e1f0ef; 
    padding: 25px 20px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.ttm-team-style-certification .ttm-team-item:hover {
    border-color: #00ced1;
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(0, 206, 209, 0.15);
}

/* Subtlest 3D Tilt fallback */
.ttm-tilt-enabled .ttm-team-item:hover {
    transform: perspective(1000px) rotateX(4deg) rotateY(4deg) translateY(-8px);
}

/* Smooth SVG-like Border Grow */
.ttm-team-style-certification .ttm-team-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid #00ced1;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.ttm-team-style-certification .ttm-team-item:hover::before {
    opacity: 1;
    inset: -2px;
}

.ttm-team-style-certification .ttm-team-image-wrap {
    aspect-ratio: auto;
    height: 90px;
    margin-bottom: 25px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.ttm-team-style-certification .ttm-team-item:hover .ttm-team-image-wrap {
    transform: scale(1.05);
}

.ttm-team-style-certification .ttm-team-image img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.6s ease;
}

.ttm-team-style-certification .ttm-team-info {
    padding-top: 10px;
}

.ttm-team-style-certification .ttm-team-name {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ttm-team-style-certification .ttm-team-designation {
    font-size: 13px;
    color: #6a7c7b; /* Muted cyan-gray */
    font-weight: 500;
    display: block;
}

/* Refined Grayscale */
.ttm-team-grayscale .ttm-team-image img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.ttm-team-grayscale .ttm-team-item:hover .ttm-team-image img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Floating Animation - More Subtle */
@keyframes ttmCertificationFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.ttm-team-social-links-wrap {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

/* Info on Overlay Position */
.ttm-team-info-overlay {
    margin-bottom: 15px;
    width: 100%;
}

.ttm-team-info-overlay .ttm-team-name {
    color: #fff;
    margin-bottom: 3px;
    font-size: 24px;
}

.ttm-team-info-overlay .ttm-team-designation {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.ttm-team-style-executive .ttm-team-info-overlay .ttm-team-name {
    color: #333;
}

.ttm-team-style-executive .ttm-team-info-overlay .ttm-team-designation {
    color: #666;
}

/* Editor Fixes for Info Position */
.elementor-editor-active .ttm-team-info-overlay {
    /* Optional: make it always visible or handle differently in editor */
}
/* TTM Company Timeline Widget */
.ttm-company-timeline-wrap {
    position: relative;
    padding: 60px 0;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.ttm-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e1e1e1;
    transform: translateX(-50%);
    z-index: 1;
}

.ttm-timeline-items {
    position: relative;
    z-index: 2;
}

.ttm-timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.ttm-timeline-item.ttm-timeline-right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.ttm-timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #4CAF50;
    border: 4px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, 0);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ttm-timeline-icon {
    font-size: 16px;
    color: #fff;
}

.ttm-timeline-content {
    width: 85%;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ttm-timeline-item:hover .ttm-timeline-content {
    transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.ttm-timeline-left .ttm-timeline-content {
    margin-right: 50px;
    text-align: right;
}

.ttm-timeline-right .ttm-timeline-content {
    margin-left: 50px;
    text-align: left;
}

.ttm-timeline-year {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    padding: 4px 15px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ttm-timeline-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #1A1A1A;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ttm-timeline-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.ttm-timeline-image {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.ttm-timeline-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Connectors (Bubbles) */
.ttm-timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    width: 0;
    height: 0;
    border-style: solid;
}

.ttm-timeline-left .ttm-timeline-content::before {
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #fff;
}

.ttm-timeline-right .ttm-timeline-content::before {
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff transparent transparent;
}

/* GSAP States */
.ttm-timeline-item {
    opacity: 0;
    transform: translateY(50px);
}

/* Desktop line width adjustment */
@media (min-width: 1024px) {
    .ttm-timeline-content {
        width: 75%;
    }
}

/* Responsive Mobile */
@media (max-width: 767px) {
    .ttm-timeline-line {
        left: 30px;
    }

    .ttm-timeline-item {
        justify-content: flex-start !important;
        padding-left: 70px !important;
        padding-right: 0 !important;
        margin-bottom: 40px;
    }

    .ttm-timeline-dot {
        left: 30px !important;
    }

    .ttm-timeline-content {
        width: 100% !important;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ttm-timeline-content::before {
        left: -15px !important;
        border-width: 10px 15px 10px 0 !important;
        border-color: transparent #fff transparent transparent !important;
    }
}
