:root {
    --Primary: #0B2B6B;
    --Secondary: #D6E6FF;
    --Accent-green: #2E8B3A;
    --Accent-gold: #C9A227;
    --Accent-red: #C0392B;
    --Surface: #F5F8FC;
    --Border: rgba(11, 43, 107, 0.1);
    --font-main: "Plus Jakarta Sans", sans-serif;
    --font-main2: "Instrument Sans", sans-serif;
    --section-pad: 72px;
    --radius: 18px;
    --shadow-soft: 0 16px 40px rgba(11, 43, 107, 0.08);
    --img-h: 420px;
}

body {
    color: var(--Text-secondary);
    overflow-x: hidden;
}

#smooth-wrapper {
    background-color: #fff;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--font-main2);
    font-weight: 500;
    color: var(--Primary);
}

.font-main { font-family: var(--font-main); }
.text_primary { color: var(--Text-primary); }
.text_secondary-color { color: var(--Secondary); }

.main-menu .navigation > li:hover > a,
.navigation .submenu li:hover > a,
.navigation li > a,
.navigation .submenu li a {
    color: var(--Primary);
}

.tf-btn { color: var(--White); }
.tf-btn.style-border { color: var(--Primary); }
.tf-btn.btn-bg-white { color: var(--Text-primary); }
.tf-btn.btn-bg-secondary {
    background-color: var(--Secondary);
    color: var(--Primary);
}

.text-caption-1 {
    font-size: 15px;
    line-height: 22px;
}

/* Brand logo */
.logo_header {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.footer-brand-logo {
    max-height: 72px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

/* Header / nav alignment (template style-7 + extra Products item) */
.header.style-7 .header-inner {
    align-items: center;
    gap: 16px;
}

.header.style-7 .site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header.style-7 .main-menu .navigation {
    align-items: center;
    gap: 18px;
}

.header.style-7 .header-right {
    flex-shrink: 0;
    align-items: center;
}

.main-menu.style-2 .navigation > li.active > a,
.main-menu.style-2 .navigation > li.current-menu-item > a,
.main-menu.style-2 .navigation > li.current-menu > a {
    color: var(--Primary) !important;
}

.main-menu.style-2 .navigation > li.active > a::before,
.main-menu.style-2 .navigation > li.current-menu-item > a::before,
.main-menu.style-2 .navigation > li.current-menu > a::before {
    width: 100% !important;
    background-color: var(--Primary);
}

.main-menu.style-2 .navigation > li:hover > a {
    color: var(--Primary);
}

.main-menu.style-2 .navigation > li > a::before {
    background-color: var(--Primary);
}

@media (max-width: 1199px) {
    .header.style-7 .main-menu {
        display: none;
    }
    .header.style-7 .header-right .sm-hide {
        display: none;
    }
}

/* Page heroes + headings aligned like template inner pages */
.page-hero .tf-container {
    text-align: left;
}

.heading-section {
    text-align: left;
}

.heading-section .title,
.heading-section .desc,
.tt-split-copy .title,
.tt-split-copy .desc {
    max-width: none;
}

.tt-section-head.is-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.row > [class*="col-"] > .service-card,
.row > [class*="col-"] > .value-card,
.row > [class*="col-"] > .list-card,
.row > [class*="col-"] > .team-card,
.row > [class*="col-"] > .tt-coming-soon-card {
    height: 100%;
}

/* Section rhythm */
.tt-section {
    padding: var(--section-pad) 0;
}

.tt-section.alt {
    background: var(--Surface);
}

.tt-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.tt-section-head .sub {
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.tt-section-head .title {
    margin-bottom: 12px;
}

.tt-section-head .desc {
    margin: 12px 0 0;
    color: #5b6b86;
}

.tt-section-head .desc a {
    font-weight: 600;
    text-decoration: none;
}

.tt-section-head .desc a:hover {
    text-decoration: underline;
}

/* ===== Balanced image frames ===== */
.tt-media-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    background: #dbe7f7;
    width: 100%;
    height: var(--img-h);
    max-height: var(--img-h);
}

.tt-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Optional fixed ratios when needed */
.tt-media-frame.ratio-16x9 { height: auto; max-height: none; aspect-ratio: 16 / 9; }
.tt-media-frame.ratio-4x3 { height: auto; max-height: none; aspect-ratio: 4 / 3; }
.tt-media-frame.ratio-3x4 { height: auto; max-height: 480px; aspect-ratio: 3 / 4; }

/* ===== Split: image + content same visual weight ===== */
.tt-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.tt-split.reverse .tt-split-media { order: 2; }
.tt-split.reverse .tt-split-copy { order: 1; }

.tt-split-media {
    min-width: 0;
}

.tt-split-copy {
    min-width: 0;
}

.tt-split-copy .title,
.tt-split-copy h2,
.tt-split-copy h3 {
    overflow-wrap: break-word;
}

.tt-split-copy .heading-section .desc,
.tt-split-copy > p.desc,
.tt-split-copy > .desc,
.tt-split-copy .list-card > p.text-body-2,
.tt-split-copy .list-card > p.text-body-default {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Home hero: keep text/image even ===== */
.hero-banner-9 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.hero-banner-9 .wrap-content {
    align-items: stretch !important;
}

.hero-banner-9 .box {
    padding: 28px 28px !important;
    max-width: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-banner-9 .box .heading {
    margin-bottom: 18px !important;
}

.hero-banner-9 .box .sub {
    margin-bottom: 8px !important;
}

.hero-banner-9 .box .title {
    font-size: clamp(1.55rem, 2.2vw, 2.35rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 10px !important;
}

.hero-banner-9 .box .text-body-2 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    line-height: 1.55;
}

.hero-banner-9 .box .d-flex.flex-wrap {
    margin-bottom: 14px !important;
    gap: 12px !important;
}

.hero-banner-9 .thumbs {
    height: auto !important;
    min-height: 0 !important;
}

.tt-hero-media {
    height: 100%;
    min-height: 320px;
    max-height: 460px;
    overflow: hidden;
}

.tt-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 460px;
    object-fit: cover;
    border-radius: 0 40px 40px 0;
    display: block;
}

/* Counters */
.wrap-counter {
    gap: 16px;
}

.wrap-counter.mt_40 {
    margin-top: 40px;
}

.wrap-counter .counter-item {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 18px 16px;
    background: var(--Surface);
    border-radius: 14px;
    border: 1px solid var(--Border);
}

/* ===== Banner slider ===== */
.tt-banner-slider {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.tt-banner-slider .swiper-slide {
    height: auto;
}

.tt-banner {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    max-height: 380px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.tt-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 43, 107, 0.62);
    z-index: 0;
}

.tt-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    width: 100%;
}

.tt-banner-inner .title {
    color: #fff !important;
    font-size: clamp(1.5rem, 2.5vw, 2.4rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
}

.tt-banner-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 520px;
}

.tt-banner-pagination {
    bottom: 14px !important;
}

.tt-banner-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.45;
}

.tt-banner-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

.tt-banner-nav {
    color: #fff !important;
    width: 42px !important;
    height: 42px !important;
    background: rgba(11, 43, 107, 0.45);
    border-radius: 50%;
}

.tt-banner-nav::after {
    font-size: 16px !important;
    font-weight: 700;
}

.tt-banner-nav:hover {
    background: rgba(11, 43, 107, 0.75);
}

@media (max-width: 991px) {
    .tt-banner {
        min-height: 240px;
        max-height: 300px;
        height: 260px;
        padding: 32px 18px;
    }

    .tt-banner-nav {
        display: none !important;
    }
}

/* Kill broken template banner overflow if leftover */
.section-banner-3 .banner {
    height: auto !important;
    min-height: 280px;
    max-height: 360px;
    overflow: hidden !important;
}

.section-banner-3 .banner .bg-img {
    height: 100% !important;
    max-height: 360px !important;
}

.section-banner-3 .content {
    overflow: hidden;
    padding: 32px 20px !important;
}

.section-banner-3 .content .title {
    font-size: clamp(1.4rem, 2.2vw, 2.2rem) !important;
    margin-bottom: 20px !important;
}

/* Inner page hero */
.page-hero {
    position: relative;
    padding: 88px 0 56px;
    background: linear-gradient(135deg, #0B2B6B 0%, #143A8C 55%, #1E56B0 100%);
    overflow: hidden;
}

.page-hero.has-image { background: #0B2B6B; }

.page-hero.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.32;
    z-index: 0;
}

.page-hero .tf-container {
    position: relative;
    z-index: 1;
}

.page-hero .title,
.page-hero .sub {
    color: #fff !important;
}

.page-hero .title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.25;
    max-width: 820px;
}

.page-hero .desc {
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Prevent WOW.js from leaving cards permanently hidden (empty spacing) */
.service-card.wow,
.tt-coming-soon-card.wow {
    visibility: visible !important;
}

/* Cards — restored after broken selector */
.value-card,
.service-card,
.list-card,
.team-card {
    background: #fff;
    border: 1px solid var(--Border);
    border-radius: var(--radius);
    padding: 24px;
    height: 100%;
    box-shadow: 0 8px 24px rgba(11, 43, 107, 0.04);
    overflow: hidden;
}

.service-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: inherit;
}

a.service-card:hover {
    color: inherit;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.service-card .card-thumb {
    margin: -24px -24px 16px;
    height: 180px;
    max-height: 180px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.service-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h4 {
    font-size: 1.15rem;
}

.service-card .text-body-2 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.team-card { padding: 0; }

a.team-card {
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.team-card:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.team-card .team-photo {
    height: auto;
    max-height: none;
    overflow: hidden;
    background: #edf3fb;
    aspect-ratio: 3 / 4;
}

.team-card .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #edf3fb;
}

.team-card .team-body {
    padding: 20px 22px 24px;
}

/* Detailed team profiles */
.tt-team-profile {
    margin-bottom: 48px;
}

.tt-team-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.tt-team-profile-grid.reverse .tt-team-profile-media { order: 2; }
.tt-team-profile-grid.reverse .tt-team-profile-copy { order: 1; }

.tt-team-profile-media,
.tt-team-profile-copy {
    min-width: 0;
}

.tt-team-profile-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tt-team-profile-copy > .sub {
    margin-bottom: 8px !important;
}

.tt-team-profile-copy > .title {
    margin-bottom: 12px !important;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.2;
}

.tt-team-profile-photo {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #edf3fb;
    box-shadow: var(--shadow-soft);
}

.tt-team-profile-photo img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.tt-team-lead {
    font-size: 1.02em;
    color: #334155;
    line-height: 1.55;
    margin-bottom: 12px !important;
}

.tt-team-profile-body p {
    margin: 0 0 10px;
    color: #4b5d78;
    line-height: 1.6;
}

.tt-team-profile-body p:last-child {
    margin-bottom: 0;
}

/* Expertise / Focus — tag layout */
.tt-team-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
    align-items: stretch;
}

.tt-team-meta-col {
    padding: 24px 24px 26px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #f5f8fc 0%, #eef3fa 100%);
    border-top: 3px solid var(--Primary);
    min-height: 100%;
}

.tt-team-meta-col h3 {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--Primary);
    text-transform: none;
}

.tt-team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tt-team-tags span {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(11, 43, 107, 0.12);
    color: #243b63;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: 0 4px 12px rgba(11, 43, 107, 0.04);
}

@media (max-width: 991px) {
    .tt-team-profile-grid,
    .tt-team-profile-grid.reverse {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tt-team-profile-grid.reverse .tt-team-profile-media,
    .tt-team-profile-grid.reverse .tt-team-profile-copy {
        order: unset;
    }

    .tt-team-profile-photo,
    .tt-team-profile-photo img {
        min-height: 320px;
        height: 320px;
    }
}

@media (max-width: 575px) {
    .tt-team-meta {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tt-team-profile-photo,
    .tt-team-profile-photo img {
        min-height: 280px;
        height: 280px;
    }
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--Accent-green);
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--Accent-green);
}

.tt-service-detail-body {
    max-width: 920px;
}

.tt-service-detail-body p {
    margin: 0 0 16px;
    color: #4b5d78;
    line-height: 1.7;
}

.tt-service-detail-body p:last-child {
    margin-bottom: 0;
}

.quote-box {
    border-left: 4px solid var(--Accent-gold);
    background: var(--Surface);
    padding: 24px 28px;
    border-radius: 0 16px 16px 0;
    font-size: 1.1rem;
    color: var(--Primary);
}

.tt-cta-band {
    border-radius: 24px;
    background: linear-gradient(135deg, #0B2B6B, #1E56B0);
    color: #fff;
    padding: 40px;
}

.tt-cta-band h2,
.tt-cta-band p {
    color: #fff !important;
}

.tt-cta-band h2 {
    font-size: clamp(1.4rem, 2.2vw, 2rem) !important;
    line-height: 1.3 !important;
}

.contact-form .form-control {
    min-height: 52px;
    border-radius: 10px;
    border: 1px solid rgba(11, 43, 107, 0.15);
}

.contact-form textarea.form-control {
    min-height: 140px;
}

.alert-talent {
    border-radius: 12px;
    padding: 14px 18px;
}

/* ===== Contact page layout ===== */
/* Contact page layout */
.tt-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.tt-contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid var(--Border);
    border-radius: 14px;
    padding: 18px 20px;
    min-height: 110px;
}

.tt-contact-info h5 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--Primary);
}

.tt-contact-info a,
.tt-contact-info p {
    margin: 0;
    color: #4b5d78;
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-word;
}

.tt-contact-info p + p {
    margin-top: 4px;
}

.tt-contact-info a {
    color: var(--Primary);
    text-decoration: none;
    font-weight: 500;
}

.tt-contact-info a:hover {
    text-decoration: underline;
}

.tt-contact-split {
    align-items: start;
}

.tt-contact-photo {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #dbe7f7;
}

.tt-contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tt-contact-form-wrap {
    background: #fff;
    border: 1px solid var(--Border);
    border-radius: var(--radius);
    padding: 28px 28px 30px;
    box-shadow: 0 8px 24px rgba(11, 43, 107, 0.04);
    height: 100%;
}

.tt-contact-form-wrap h3 {
    margin: 0 0 20px;
    color: var(--Primary);
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.25;
}

.tt-contact-form {
    position: relative;
    z-index: 1;
}

.tt-contact-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.tt-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tt-field-full {
    grid-column: 1 / -1;
}

.tt-field label {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 600;
    color: #334155;
}

.tt-contact-form .tt-field input,
.tt-contact-form .tt-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(11, 43, 107, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    min-height: 48px;
    background: #fff;
    color: #0f172a;
    outline: none;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.4;
    box-shadow: none;
    overflow: visible;
}

.tt-contact-form .tt-field textarea {
    min-height: 140px;
    resize: vertical;
}

.tt-contact-form .tt-field input:focus,
.tt-contact-form .tt-field textarea:focus {
    border-color: rgba(11, 43, 107, 0.45);
    box-shadow: 0 0 0 3px rgba(11, 43, 107, 0.08);
}

@media (max-width: 991px) {
    .tt-contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tt-contact-photo {
        min-height: 280px;
        height: 280px;
        margin-bottom: 8px;
    }

    .tt-contact-form-wrap {
        padding: 22px;
    }
}

@media (max-width: 575px) {
    .tt-contact-info-grid,
    .tt-contact-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tt-field-full {
        grid-column: auto;
    }

    .tt-contact-photo {
        min-height: 220px;
        height: 220px;
    }
}

/* Mobile nav — brand logo sizing inside template offcanvas */
.mobile-nav-wrap .site-logo .main-logo {
    max-height: 48px;
    width: auto;
    height: auto;
}

.mobile-nav-wrap .btn-close-menu {
    cursor: pointer;
}

/* FAQ accordion — keep template section-faqs-4 / style-1 v2 look;
   only neutralize Bootstrap .accordion-item conflicts */
.section-faqs-4 .accordion-wrap {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-faqs-4 .accordion-wrap > .accordion-item {
    background-color: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
}

.section-faqs-4 .accordion-title {
    text-decoration: none;
}

/* Products / flash cards */
.tt-product-thumb {
    background: #edf3fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-product-thumb img {
    object-fit: contain !important;
    width: 100%;
    height: 100%;
    padding: 12px;
}

.tt-product-hero-frame {
    background: #edf3fb;
    min-height: 280px;
}

.tt-product-hero-frame img {
    object-fit: contain !important;
    width: 100%;
    height: 100%;
    background: #edf3fb;
}

.tt-product-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 43, 107, 0.08);
    color: var(--Primary);
    font-size: 0.92rem;
    font-weight: 600;
}

.tt-coming-soon-head {
    margin-top: 56px;
}

.tt-coming-soon-card {
    height: 100%;
    padding: 28px 24px;
    border: 1px dashed rgba(11, 43, 107, 0.28);
    border-radius: 16px;
    background: linear-gradient(165deg, #f7f9fc 0%, #eef3fa 100%);
}

.tt-coming-soon-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(11, 43, 107, 0.1);
    color: var(--Primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tt-coming-soon-card h4 {
    color: var(--Primary);
}

.tt-flashcard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tt-flashcard {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    perspective: 1200px;
    width: 100%;
    aspect-ratio: 1 / 1.15;
    position: relative;
    display: block;
    min-height: 220px;
}

.tt-flashcard-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s ease;
}

.tt-flashcard.is-flipped .tt-flashcard-inner {
    transform: rotateY(180deg);
}

.tt-flashcard-face {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--Border);
    box-shadow: 0 10px 24px rgba(11, 43, 107, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 12px;
    text-align: center;
}

.tt-flashcard-front img {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: calc(100% - 36px);
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.tt-flashcard-back {
    transform: rotateY(180deg);
    background: linear-gradient(160deg, #0B2B6B, #1E56B0);
    color: #fff;
    justify-content: center;
    gap: 12px;
}

.tt-flashcard-name {
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    width: 100%;
}

.tt-flashcard-hint {
    font-size: 0.85rem;
    opacity: 0.85;
    flex-shrink: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

.tt-flashcard-front {
    justify-content: flex-start;
}

.tt-flashcard-front .tt-flashcard-hint {
    color: #5b6b86;
    margin-top: auto;
    padding-top: 8px;
}

.tt-flashcard-back .tt-flashcard-hint {
    margin-top: 0;
    opacity: 0.75;
}

@media (max-width: 991px) {
    .tt-flashcard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .tt-flashcard-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* Admin */
.admin-wrap { min-height: 100vh; background: #f3f6fb; }
.admin-sidebar {
    width: 240px;
    background: #0B2B6B;
    color: #fff;
    min-height: 100vh;
}
.admin-sidebar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.admin-main { flex: 1; padding: 28px; }
.admin-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(11, 43, 107, 0.06);
}

@media (max-width: 991px) {
    :root {
        --section-pad: 56px;
        --img-h: 280px;
    }

    .tt-split,
    .tt-split.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tt-split.reverse .tt-split-media,
    .tt-split.reverse .tt-split-copy {
        order: initial;
    }

    .page-hero {
        padding: 72px 0 44px;
    }

    .hero-banner-9 .box {
        padding: 22px 18px !important;
    }

    .tt-hero-media,
    .tt-hero-media img {
        min-height: 220px;
        max-height: 280px;
        border-radius: 0 0 28px 28px;
    }

    .tt-banner {
        min-height: 240px;
        max-height: 300px;
        padding: 32px 18px;
    }

    .wrap-counter {
        flex-direction: column;
    }

    .service-card .card-thumb {
        height: 160px;
        max-height: 160px;
    }

    .team-card .team-photo {
        height: auto;
        max-height: none;
        aspect-ratio: 3 / 4;
    }

    .tt-cta-band {
        padding: 28px 22px;
    }
}
