/* Tantu Elements Custom CSS */

:root {
    --te-primary: #2563eb;
    --te-secondary: #1e3a8a;
    --te-accent: #f97316;
    --te-text: #1e293b;
    --te-text-light: #64748b;
    --te-bg-light: #f8fafc;
    --te-white: #ffffff;
    --te-border: #e2e8f0;
}

/* ──────────────────────────────────────────────────────────
   COMMON UTILITIES
   ────────────────────────────────────────────────────────── */
.te-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}
.te-btn-outline {
    background: transparent;
    color: var(--te-white);
    border-color: var(--te-white);
}
.te-btn-outline:hover {
    background: var(--te-white);
    color: var(--te-secondary);
}
.te-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--te-primary);
    text-decoration: none;
    transition: gap 0.3s ease;
}
.te-link-arrow:hover {
    gap: 0.75rem;
}

/* ──────────────────────────────────────────────────────────
   1. SECTION HEADER
   ────────────────────────────────────────────────────────── */
.te-section-header {
    margin-bottom: 3rem;
}
.te-align-left { text-align: left; }
.te-align-center { text-align: center; }
.te-align-right { text-align: right; }

.te-sh-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--te-primary);
    display: block;
    margin-bottom: 0.5rem;
}
.te-sh-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--te-secondary);
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .te-sh-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 767px) {
    .te-sh-title {
        font-size: 1.5rem;
    }
}

.te-sh-desc {
    font-size: 1rem;
    color: var(--te-text-light);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .te-sh-desc {
        font-size: 0.9rem;
    }
}
.te-align-left .te-sh-desc { margin-left: 0; }
.te-align-right .te-sh-desc { margin-right: 0; }

.te-ornament {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 1rem 0;
}
.te-align-center .te-ornament { justify-content: center; }
.te-align-right .te-ornament { justify-content: flex-end; }

.te-orn-line {
    width: 3rem;
    height: 3px;
    background: var(--te-primary);
    border-radius: 9999px;
}
.te-orn-dot {
    width: 6px;
    height: 6px;
    background: var(--te-primary);
    border-radius: 50%;
}
.te-orn-dot.small {
    width: 4px;
    height: 4px;
}

/* ──────────────────────────────────────────────────────────
   2. HERO BANNER
   ────────────────────────────────────────────────────────── */
.te-hero-wrap {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    color: var(--te-white);
    overflow: hidden;
}
.te-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.te-hero-content {
    position: relative;
    z-index: 2;
    max-width: 48rem;
    width: 100%;
}
.te-align-center .te-hero-content {
    margin: 0 auto;
    text-align: center;
}
.te-hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--te-accent);
    display: block;
    margin-bottom: 1rem;
}
.te-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.te-hero-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.te-hero-buttons {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.te-align-center .te-hero-buttons {
    justify-content: center;
}

/* ──────────────────────────────────────────────────────────
   3. STATS COUNTER
   ────────────────────────────────────────────────────────── */
.te-stats-wrap {
    display: grid;
    gap: 2rem;
    padding: 2rem;
}
.te-stats-card {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.te-stats-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.te-stat-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--te-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.te-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--te-accent-bg);
    color: var(--te-accent);
}
.te-stat-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}
.te-stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--te-secondary);
    margin-bottom: 0.25rem;
}
.te-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--te-text-light);
}

/* ──────────────────────────────────────────────────────────
   4. FEATURE CARDS
   ────────────────────────────────────────────────────────── */
.te-feature-grid {
    display: grid;
    gap: 2rem;
}
.te-feat-card {
    background: var(--te-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--te-border);
    transition: all 0.3s ease;
}
.te-feat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.te-feat-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    background: var(--te-accent-bg);
    color: var(--te-accent);
    margin-bottom: 1.5rem;
}
.te-feat-icon-wrap svg {
    width: 1.75rem;
    height: 1.75rem;
}
.te-feat-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--te-secondary);
    margin-bottom: 0.75rem;
}
.te-feat-desc {
    font-size: 0.95rem;
    color: var(--te-text-light);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.te-feat-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--te-accent);
    text-decoration: none;
    font-size: 0.875rem;
}

/* ──────────────────────────────────────────────────────────
   5. TEAM GRID
   ────────────────────────────────────────────────────────── */
.te-team-grid {
    display: grid;
    gap: 2rem;
}
.te-team-card {
    background: var(--te-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--te-border);
    transition: all 0.3s ease;
}
.te-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.te-team-photo-wrap {
    position: relative;
    aspect-ratio: 1;
    background: var(--te-bg-light);
    overflow: hidden;
}
.te-team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.te-team-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    background: var(--te-bg-light);
    color: var(--te-primary);
}
.te-team-info {
    padding: 1.5rem;
    text-align: center;
}
.te-team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--te-secondary);
    margin-bottom: 0.25rem;
}
.te-team-designation {
    font-size: 0.875rem;
    color: var(--te-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}
.te-team-company {
    font-size: 0.75rem;
    color: var(--te-text-light);
    display: block;
    margin-bottom: 0.75rem;
}
.te-team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}
.te-social-btn {
    color: var(--te-text-light);
    transition: color 0.3s ease;
}
.te-social-btn:hover {
    color: var(--te-accent);
}
.te-team-bio {
    font-size: 0.8rem;
    color: var(--te-text-light);
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

/* ── Team Grid: overflow guard ── */
.te-team-name {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.te-team-designation,
.te-team-company,
.te-team-bio {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* ── Team Grid: Tablet (≤991px) ── */
@media (max-width: 991px) {
    body .te-team-grid {
        /* Reduce 4-col to 3-col, keep 3-col, 2-col as-is */
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem !important;
    }
    body .te-team-info {
        padding: 1rem !important;
    }
    body .te-team-name {
        font-size: 1rem !important;
    }
}

/* ── Team Grid: Mobile (≤767px) — 2 cards per row ── */
@media (max-width: 767px) {
    body .te-team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    body .te-team-photo-wrap {
        aspect-ratio: 1 !important;
    }
    body .te-team-info {
        padding: 0.75rem 0.6rem !important;
    }
    body .te-team-name {
        font-size: 0.875rem !important;
        font-weight: 700 !important;
        line-height: 1.3;
    }
    body .te-team-designation {
        font-size: 0.72rem !important;
        line-height: 1.3;
    }
    body .te-team-company {
        font-size: 0.68rem !important;
    }
    body .te-team-bio {
        font-size: 0.72rem !important;
    }
    body .te-social-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
}

/* ── Team Grid: Small Mobile (≤480px) — 2 cards, tighter ── */
@media (max-width: 480px) {
    body .te-team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    body .te-team-photo-wrap {
        aspect-ratio: 1 !important;
    }
    body .te-team-info {
        padding: 0.6rem 0.5rem !important;
    }
    body .te-team-name {
        font-size: 0.8rem !important;
    }
    body .te-team-designation {
        font-size: 0.65rem !important;
    }
    body .te-team-company {
        font-size: 0.6rem !important;
        margin-bottom: 0.4rem !important;
    }
    body .te-team-bio {
        display: none !important; /* hide bio on very small screens */
    }
    body .te-team-social {
        gap: 0.4rem !important;
        margin-top: 0.5rem !important;
    }
}

/* ──────────────────────────────────────────────────────────
   6. TESTIMONIAL SLIDER
   ────────────────────────────────────────────────────────── */
.te-testi-wrap {
    position: relative;
    padding: 2rem 0;
}
.te-testi-card {
    background: var(--te-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--te-border);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.te-testi-quote-icon {
    opacity: 0.1;
    margin-bottom: 1rem;
}
.te-testi-stars {
    margin-bottom: 1rem;
}
.te-testi-star {
    font-size: 1.25rem;
    color: #e2e8f0;
}
.te-testi-star.filled {
    color: #fbbf24;
}
.te-testi-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--te-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}
.te-testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.te-testi-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--te-primary);
    color: var(--te-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.te-testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.te-testi-meta strong {
    display: block;
    font-size: 0.95rem;
    color: var(--te-secondary);
}
.te-testi-meta span {
    font-size: 0.8rem;
    color: var(--te-text-light);
}

/* ──────────────────────────────────────────────────────────
   7. CTA BANNER
   ────────────────────────────────────────────────────────── */
.te-cta-wrap {
    padding: 4rem 2rem;
    border-radius: 16px;
    color: var(--te-white);
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.te-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.7);
    z-index: 1;
}
.te-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 52rem;
    margin: 0 auto;
}
.te-cta-centered {
    text-align: center;
}
.te-cta-split .te-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.te-cta-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--te-accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}
.te-cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.te-cta-desc {
    font-size: 1.1rem;
    opacity: 0.9;
}
.te-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.te-cta-centered .te-cta-buttons {
    justify-content: center;
}

/* ──────────────────────────────────────────────────────────
   8. FAQ ACCORDION
   ────────────────────────────────────────────────────────── */
.te-faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.te-faq-item {
    border: 1px solid var(--te-border);
    border-radius: 8px;
    background: var(--te-white);
    overflow: hidden;
}
.te-faq-q {
    width: 100%;
    padding: 1.25rem;
    text-align: left;
    background: none;
    border: none;
    font-weight: 700;
    color: var(--te-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.te-faq-icon svg {
    transition: transform 0.3s ease;
}
.te-faq-item.active .te-faq-icon svg {
    transform: rotate(180deg);
}
.te-faq-a-inner {
    padding: 1.25rem;
    border-top: 1px solid var(--te-border);
    color: var(--te-text-light);
    line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────
   9. TAB CONTENT
   ────────────────────────────────────────────────────────── */
.te-tabs-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.te-tab-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.te-tab-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--te-border);
    background: var(--te-white);
    font-weight: 600;
    color: var(--te-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.te-tab-btn.active {
    background: var(--te-primary);
    color: var(--te-white);
}
.te-tab-pane {
    display: none;
}
.te-tab-pane.active {
    display: block;
}

/* ──────────────────────────────────────────────────────────
   10. IMAGE GALLERY
   ────────────────────────────────────────────────────────── */
.te-gallery-grid {
    display: grid;
    gap: 1rem;
}
.te-gal-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.te-gal-thumb {
    position: relative;
    aspect-ratio: 4/3;
}
.te-gal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.te-gal-hover {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.te-gal-item:hover .te-gal-hover {
    opacity: 1;
}
.te-gal-lb {
    color: var(--te-white);
    background: rgba(255,255,255,0.2);
    padding: 0.75rem;
    border-radius: 50%;
}
.te-gal-caption {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
    text-align: center;
    color: var(--te-secondary);
}

/* ── Lightbox Modal ── */
.te-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.te-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}
.te-lb-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10;
}
.te-lb-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}
.te-lb-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: var(--te-white);
    font-size: 2.5rem;
    cursor: pointer;
}

/* ──────────────────────────────────────────────────────────
   11. TIMELINE
   ────────────────────────────────────────────────────────── */
.te-timeline {
    position: relative;
    padding: 2rem 0;
}
.te-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--te-border);
    transform: translateX(-50%);
}
.te-tl-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
}
.te-tl-left {
    left: 0;
    text-align: right;
}
.te-tl-right {
    left: 50%;
    text-align: left;
}
.te-tl-dot {
    position: absolute;
    top: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--te-accent);
    color: var(--te-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--te-white);
}
.te-tl-left .te-tl-dot {
    right: -1.25rem;
}
.te-tl-right .te-tl-dot {
    left: -1.25rem;
}
.te-tl-card {
    background: var(--te-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--te-border);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.te-tl-year {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--te-accent);
    display: block;
    margin-bottom: 0.5rem;
}
.te-tl-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--te-secondary);
    margin-bottom: 0.5rem;
}
.te-tl-desc {
    font-size: 0.9rem;
    color: var(--te-text-light);
    line-height: 1.5;
}

/* ── Timeline: full-width single column on mobile ── */
@media (max-width: 767px) {
    /* Move the vertical line to the left side */
    body .te-timeline::before {
        left: 1.25rem !important;
        transform: none !important;
    }

    /* Both left and right items become full-width */
    body .te-tl-item {
        width: 100% !important;
        left: 0 !important;
        text-align: left !important;
        padding: 0.75rem 0.75rem 0.75rem 3.5rem !important;
    }
    body .te-tl-left,
    body .te-tl-right {
        left: 0 !important;
        text-align: left !important;
    }

    /* Both dots anchor to the left line */
    body .te-tl-left .te-tl-dot,
    body .te-tl-right .te-tl-dot {
        left: 0 !important;
        right: auto !important;
        top: 1rem !important;
        width: 2rem !important;
        height: 2rem !important;
    }

    body .te-tl-card {
        padding: 1rem 1rem !important;
    }
    body .te-tl-year {
        font-size: 1rem !important;
    }
    body .te-tl-title {
        font-size: 0.975rem !important;
    }
    body .te-tl-desc {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    body .te-tl-item {
        padding: 0.5rem 0.5rem 0.5rem 3rem !important;
    }
    body .te-tl-dot {
        width: 1.75rem !important;
        height: 1.75rem !important;
    }
    body .te-tl-dot svg {
        width: 14px !important;
        height: 14px !important;
    }
}

/* ──────────────────────────────────────────────────────────
   12. PRICING TABLE
   ────────────────────────────────────────────────────────── */
.te-pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.te-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}
.te-toggle-switch input { display: none; }
.te-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--te-border);
    border-radius: 34px;
    transition: .4s;
}
.te-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}
input:checked + .te-toggle-slider {
    background-color: var(--te-primary);
}
input:checked + .te-toggle-slider:before {
    transform: translateX(24px);
}
.te-save-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--te-white);
    background: var(--te-accent);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-style: normal;
}
.te-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.te-price-card {
    background: var(--te-white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid var(--te-border);
    position: relative;
    display: flex;
    flex-direction: column;
}
.te-price-card.te-featured {
    border-color: var(--te-accent);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}
.te-price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--te-accent);
    color: var(--te-white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}
.te-price-plan {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--te-secondary);
    margin-bottom: 1rem;
}
.te-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--te-secondary);
    margin-bottom: 2rem;
}
.te-price-period {
    font-size: 1rem;
    font-weight: 600;
    color: var(--te-text-light);
}
.te-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}
.te-price-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.te-price-features svg {
    color: var(--te-accent);
}

/* ──────────────────────────────────────────────────────────
   13. ICON LIST
   ────────────────────────────────────────────────────────── */
.te-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.te-list-row {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-decoration: none;
}
.te-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.te-icon-circle .te-list-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(37,99,235,0.1);
}
.te-list-text {
    font-weight: 600;
    color: var(--te-secondary);
}
.te-list-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--te-text-light);
}

/* ──────────────────────────────────────────────────────────
   14. NEWS / BLOG GRID
   ────────────────────────────────────────────────────────── */
.te-news-card {
    background: var(--te-white);
    border-radius: 12px;
    border: 1px solid var(--te-border);
    overflow: hidden;
}
.te-news-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
}
.te-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.te-news-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--te-white);
    background: var(--te-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}
.te-news-body {
    padding: 1.5rem;
}
.te-news-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--te-text-light);
    margin-bottom: 0.5rem;
}
.te-news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.te-news-title a {
    color: var(--te-secondary);
    text-decoration: none;
}
.te-news-excerpt {
    font-size: 0.9rem;
    color: var(--te-text-light);
    margin-bottom: 1rem;
}
.te-news-readmore {
    font-weight: 600;
    color: var(--te-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ──────────────────────────────────────────────────────────
   15. CONTACT INFO
   ────────────────────────────────────────────────────────── */
.te-contact-stacked {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.te-contact-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.te-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.te-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.3s ease;
}
.te-contact-cards .te-contact-item {
    background: var(--te-white, #ffffff);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--te-border, #e2e8f0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}
.te-contact-cards .te-contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
    border-color: var(--te-accent);
}
.te-contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--te-bg-light);
    border: 1px solid var(--te-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--te-accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.te-contact-item:hover .te-contact-icon {
    background: var(--te-accent);
    color: var(--te-white);
    border-color: var(--te-accent);
}
.te-contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.te-contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--te-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.te-contact-value {
    font-weight: 600;
    color: var(--te-secondary);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.te-contact-item a.te-contact-value:hover {
    color: var(--te-accent);
}

/* ──────────────────────────────────────────────────────────
   16. BEFORE / AFTER
   ────────────────────────────────────────────────────────── */
.te-ba-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.te-ba-before, .te-ba-after {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.te-ba-before {
    border-right: 1px solid var(--te-white);
}
.te-ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--te-white);
    cursor: ew-resize;
}
.te-ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--te-white);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.te-ba-label {
    position: absolute;
    bottom: 1rem;
    background: rgba(0,0,0,0.6);
    color: var(--te-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}
.te-ba-label-before { left: 1rem; }
.te-ba-label-after { right: 1rem; }

/* ──────────────────────────────────────────────────────────
   17. PROCESS STEPS
   ────────────────────────────────────────────────────────── */
.te-steps-wrap {
    display: flex;
    gap: 2.5rem;
}
.te-steps-horizontal {
    flex-direction: row;
    justify-content: space-between;
}
.te-step-item {
    position: relative;
    flex: 1;
    text-align: center;
}

/* ── Connectors (desktop) ── */
.te-connector-line .te-step-connector {
    position: absolute;
    top: 2rem;
    left: calc(50% + 2.5rem);
    width: calc(100% - 5rem);
    height: 2px;
    background: var(--te-border);
    z-index: 1;
}
.te-connector-dotted .te-step-connector {
    position: absolute;
    top: 2rem;
    left: calc(50% + 2.5rem);
    width: calc(100% - 5rem);
    height: 2px;
    border-top: 2px dotted var(--te-border);
    z-index: 1;
}
.te-connector-arrow .te-step-connector {
    position: absolute;
    top: 2rem;
    left: calc(50% + 2.5rem);
    width: calc(100% - 5rem);
    height: 2px;
    background: var(--te-border);
    z-index: 1;
}
.te-connector-arrow .te-step-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--te-border);
}

/* ── Steps: Mobile Stack (≤767px) ── */
@media (max-width: 767px) {
    body .te-steps-wrap.te-steps-horizontal {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2rem !important;
    }
    body .te-step-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 1.25rem !important;
        width: 100% !important;
        flex: none !important;
    }
    body .te-step-circle {
        margin: 0 !important;
        flex-shrink: 0 !important;
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
    body .te-step-content {
        flex: 1 !important;
        padding-top: 0.25rem !important;
    }
    body .te-step-title {
        margin-bottom: 0.25rem !important;
        font-size: 1.1rem !important;
    }
    body .te-step-desc {
        font-size: 0.85rem !important;
    }
    body .te-step-connector {
        display: none !important;
    }
}

.te-step-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--te-accent);
    color: var(--te-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
}
.te-step-num {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background: var(--te-secondary);
    color: var(--te-white);
    font-size: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.te-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--te-secondary);
    margin-bottom: 0.5rem;
}
.te-step-desc {
    font-size: 0.9rem;
    color: var(--te-text-light);
    line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────
   18. LOGO / PARTNER CAROUSEL
   ────────────────────────────────────────────────────────── */
.te-logo-heading {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--te-text-light);
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.te-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.te-logo-item:hover {
    opacity: 1;
}
.te-logo-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.te-grayscale .te-logo-item img {
    filter: grayscale(1);
    transition: filter 0.3s ease;
}
.te-grayscale .te-logo-item:hover img {
    filter: grayscale(0);
}

/* ──────────────────────────────────────────────────────────
   19. VIDEO SECTION
   ────────────────────────────────────────────────────────── */
.te-video-wrap {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
}
.te-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.4);
}
.te-video-center {
    position: relative;
    z-index: 2;
    text-align: center;
}
.te-play-btn {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--te-white);
    color: var(--te-primary);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.te-play-pulse {
    position: relative;
}
.te-play-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--te-white);
    opacity: 0.5;
    z-index: -1;
    animation: te-pulse 2s infinite;
}
@keyframes te-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.te-video-iframe-wrap {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: #000;
}
.te-video-iframe, .te-video-player {
    width: 100%;
    height: 100%;
}
.te-video-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--te-white);
    font-size: 2rem;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

/* ──────────────────────────────────────────────────────────
   20. DUAL COLUMN CONTENT
   ────────────────────────────────────────────────────────── */
.te-dual-col {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* Mobile: single column, image always on top */
@media (max-width: 767px) {
    .te-dual-col {
        grid-template-columns: 1fr !important;
        gap: 1.75rem;
    }
    .te-flipped .te-dc-left,
    .te-flipped .te-dc-right,
    .te-dual-col .te-dc-left,
    .te-dual-col .te-dc-right {
        order: unset !important;
    }
    /* On mobile image always comes first */
    .te-dual-col .te-dc-left { order: 1 !important; }
    .te-dual-col .te-dc-right { order: 2 !important; }
}

.te-flipped .te-dc-left { order: 2; }
.te-flipped .te-dc-right { order: 1; }
.te-dc-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.te-dc-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .te-dc-img {
        max-height: 240px;
    }
}

.te-dc-img-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--te-primary);
    color: var(--te-white);
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    max-width: calc(100% - 2rem);
    line-height: 1.4;
}
.te-dc-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--te-primary);
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.te-dc-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .te-dc-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .te-dc-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.te-dc-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--te-text-light);
}

@media (max-width: 767px) {
    .te-dc-content {
        font-size: 0.9rem;
    }
    .te-dc-content p {
        margin-bottom: 0.75rem;
    }
}

.te-dc-btn {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .te-dc-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ──────────────────────────────────────────────────────────
   21. BREADCRUMB / PAGE HEADER
   ────────────────────────────────────────────────────────── */
.te-bc-wrap {
    position: relative;
    padding: 4rem 2rem;
    background-size: cover;
    background-position: center;
    color: var(--te-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.te-bc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.7);
    z-index: 1;
}
.te-bc-inner {
    position: relative;
    z-index: 2;
}
.te-bc-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.te-bc-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}
.te-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}
.te-breadcrumb a {
    color: var(--te-white);
    opacity: 0.8;
    text-decoration: none;
}
.te-breadcrumb a:hover {
    opacity: 1;
}
.te-bc-sep {
    opacity: 0.5;
}
.te-bc-current {
    opacity: 0.6;
}

/* ──────────────────────────────────────────────────────────
   22. ALERT BOX
   ────────────────────────────────────────────────────────── */
.te-alert {
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--te-accent-border);
    background: var(--te-accent-bg);
    display: flex;
    gap: 1rem;
    position: relative;
}
.te-alert-icon {
    color: var(--te-accent);
    flex-shrink: 0;
}
.te-alert-body {
    flex-grow: 1;
}
.te-alert-title {
    display: block;
    color: var(--te-secondary);
    margin-bottom: 0.25rem;
}
.te-alert-msg {
    color: var(--te-text);
    font-size: 0.925rem;
}
.te-alert-dismiss {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--te-accent);
    cursor: pointer;
    align-self: flex-start;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE OVERRIDES — HIGH SPECIFICITY (beats Elementor generated CSS)
   Uses body prefix to ensure these rules win on mobile viewports
   ══════════════════════════════════════════════════════════════ */

/* ── Dual Column: force single column on phones ── */
@media (max-width: 767px) {
    body .te-dual-col,
    body .te-dual-col.te-ratio-50-50,
    body .te-dual-col.te-ratio-40-60,
    body .te-dual-col.te-ratio-60-40 {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    body .te-dual-col .te-dc-left,
    body .te-dual-col.te-flipped .te-dc-left {
        order: 1 !important;
        width: 100% !important;
        margin-bottom: 1.5rem;
    }
    body .te-dual-col .te-dc-right,
    body .te-dual-col.te-flipped .te-dc-right {
        order: 2 !important;
        width: 100% !important;
    }
    body .te-dc-img {
        max-height: 260px !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 12px;
    }
    body .te-dc-title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
    }
    body .te-dc-content {
        font-size: 0.9rem !important;
    }
}

/* ── Section Headers: smaller text on mobile ── */
@media (max-width: 767px) {
    body .te-sh-title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
    }
    body .te-sh-desc {
        font-size: 0.9rem !important;
    }
    body .te-section-header {
        margin-bottom: 1.75rem !important;
    }
}

/* ── Feature Cards: single column on mobile ── */
@media (max-width: 767px) {
    body .te-feature-grid {
        grid-template-columns: 1fr !important;
    }
    body .te-feat-card {
        padding: 1.5rem !important;
    }
}

/* ── Section padding overrides for e-con on mobile ── */
@media (max-width: 767px) {
    body .e-con-inner {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 480px) {
    body .te-dual-col .te-dc-left {
        margin-bottom: 1rem;
    }
    body .te-dc-img {
        max-height: 200px !important;
    }
    body .te-dc-title {
        font-size: 1.35rem !important;
    }
    body .te-sh-title {
        font-size: 1.25rem !important;
    }
    body .te-dc-btn {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }
    body .e-con-inner {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* ── Hero Banner (inner pages): mobile min-height and font-size fix ── */
@media (max-width: 767px) {
    body .te-hero-wrap {
        min-height: 320px !important;
        padding: 3rem 1.25rem !important;
    }
    body .te-hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    body .te-hero-desc {
        font-size: 1rem !important;
        margin-bottom: 1.25rem !important;
    }
    body .te-hero-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    body .te-hero-btn1,
    body .te-hero-btn2 {
        text-align: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    body .te-hero-wrap {
        min-height: 280px !important;
        padding: 2.5rem 1rem !important;
    }
    body .te-hero-title {
        font-size: 1.65rem !important;
    }
    body .te-hero-desc {
        font-size: 0.9rem !important;
    }
}

/* ── CTA Banner: mobile text sizing ── */
@media (max-width: 767px) {
    body .te-cta-title {
        font-size: 1.5rem !important;
    }
    body .te-cta-wrap {
        padding: 2rem 1.25rem !important;
    }
}

/* ──────────────────────────────────────────────────────────
   23. PREMIUM FOOTER IMPROVEMENTS
   ────────────────────────────────────────────────────────── */
body .tantu-footer-tagline {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}
body .tantu-footer-tagline-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #fff !important;
    opacity: 0.95 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0.02em !important;
}
body .tantu-footer-tagline-sub {
    font-size: 13px !important;
    color: #94a3b8 !important;
    font-family: 'Inter', sans-serif !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-left: 12px !important;
}

body footer.tantu-footer ul,
body footer.tantu-footer ol,
body footer.tantu-footer li,
body .tantu-footer-menu,
body .tantu-footer-menu li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body footer.tantu-footer ul li::before,
body footer.tantu-footer li::before,
body .tantu-footer-menu li::before {
    display: none !important;
    content: "" !important;
}
body .tantu-footer-menu a {
    display: inline-flex !important;
    align-items: center !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease !important;
}
body .tantu-footer-menu a span {
    width: 6px !important;
    height: 6px !important;
    background-color: #c5a059 !important;
    opacity: 0.9 !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease !important;
}
body .tantu-footer-menu a:hover {
    transform: translateX(6px) !important;
    color: var(--tantu-gold) !important;
}
body .tantu-footer-menu a:hover span {
    transform: scale(1.3) !important;
    background-color: #fff !important;
    opacity: 1 !important;
}
body .tantu-footer-copyright-links a {
    transition: color 0.25s ease !important;
}
body .tantu-footer-copyright-links a:hover {
    color: var(--tantu-gold) !important;
}

@media (max-width: 767px) {
    body .tantu-footer-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
        padding-bottom: 30px !important;
        margin-bottom: 35px !important;
    }
    body .tantu-footer-tagline {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 6px !important;
        width: 100% !important;
    }
    body .tantu-footer-tagline-sub {
        border-left: none !important;
        padding-left: 0 !important;
        font-size: 12px !important;
    }
    body .tantu-footer-cta {
        width: 100% !important;
        justify-content: center !important;
    }
}

