/* ============================================
   STANFORT FISCAL - Unified Theme
   Clean Bootstrap 5 Override + Custom Design
   ============================================ */

/* ---------- Global overflow guard ---------- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ---------- CSS Variables ---------- */
:root {
    --tt-primary: #4143b5;
    --tt-primary-dark: #4144b9;
    --tt-primary-light: #e8f5ef;
    --tt-accent: #e8333e;
    --tt-accent-dark: #e8333e;
    --tt-cards: #fccbce;
    --tt-accent-light: #fdf5e6;
    --tt-dark: #1a1a2e;
    --tt-dark-soft: #2d2d44;
    --tt-text: #3a3a4a;
    --tt-text-muted: #6b7280;
    --tt-light: #f8f9fa;
    --tt-lighter: #ffffff;
    --tt-border: #e5e7eb;
    --tt-shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --tt-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    --tt-shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
    --tt-radius: .625rem;
    --tt-radius-lg: 1rem;
    --tt-radius-xl: 1.5rem;
    --tt-font: 'Inter', system-ui, -apple-system, sans-serif;
    --tt-font-display: 'Playfair Display', Georgia, serif;
    --tt-transition: .25s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--tt-font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--tt-text);
    background: url("../images/background.svg") no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--tt-primary);
    text-decoration: none;
    transition: color var(--tt-transition);
}

a:hover {
    color: var(--tt-primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--tt-font-display);
    font-weight: 700;
    color: var(--tt-dark);
    line-height: 1.25;
}

/* Accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 10000;
    padding: .75rem 1.25rem;
    background: var(--tt-primary);
    color: #fff;
    border-radius: var(--tt-radius);
}

.skip-link:focus {
    position: fixed;
    top: .75rem;
    left: .75rem;
    left: auto;
}

:focus-visible {
    outline: 2px solid var(--tt-primary);
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--tt-light);
}

::-webkit-scrollbar-thumb {
    background: var(--tt-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tt-primary-dark);
}


/* ============================================
   NAVBAR
   ============================================ */
.tt-navbar {
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tt-border);
    padding: .75rem 0;
    transition: box-shadow var(--tt-transition), padding var(--tt-transition);
    z-index: 1050;
}

.tt-navbar.scrolled {
    padding: .5rem 0;
    box-shadow: var(--tt-shadow);
}

.tt-navbar .navbar-brand {
    font-family: var(--tt-font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(#4144b9);
    gap: .5rem;
    margin-right: auto; /* pushes brand to the far left */
    display: flex;
    align-items: center;
}

.tt-navbar .navbar-brand .brand-icon {
    width: 100px;
    height: 100%;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .95rem;
}

.tt-navbar .navbar-brand .brand-icon img {
    height: 40px;
    width: auto;
}

/* Outline button variant for use on dark/gradient backgrounds */
.btn-tt-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: #fff;
}

.btn-tt-outline-light:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

.tt-navbar .navbar-brand .brand-accent {
    color: var(--tt-accent);
    font-style: italic;
}
.tt-navbar .navbar-brand .brand-primary {
    color: var(--tt-primary);
    font-style: italic;
}


.tt-navbar .nav-link {
    font-family: var(--tt-font);
    font-weight: 500;
    font-size: .925rem;
    color: var(--tt-text);
    padding: .5rem 1rem !important;
    position: relative;
    transition: color var(--tt-transition);
}

.tt-navbar .nav-link:hover,
.tt-navbar .nav-link.active {
    color: var(--tt-primary);
}

.tt-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--tt-primary);
    border-radius: 2px;
}

/* Auth buttons in navbar */
.tt-navbar .btn-sign-in {
    font-weight: 500;
    font-size: .875rem;
    color: var(--tt-primary);
    border: 1.5px solid var(--tt-primary);
    border-radius: 50rem;
    padding: .4rem 1.25rem;
    transition: all var(--tt-transition);
}

.tt-navbar .btn-sign-in:hover {
    background: var(--tt-primary);
    color: #fff;
}

.tt-navbar .btn-get-started {
    font-weight: 600;
    font-size: .875rem;
    background: var(--tt-primary);
    color: #fff;
    border: none;
    border-radius: 50rem;
    padding: .45rem 1.5rem;
    transition: all var(--tt-transition);
}

.tt-navbar .btn-get-started:hover {
    background: var(--tt-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(65, 67, 181, .25);
}

/* User dropdown */
.tt-navbar .user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--tt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .8rem;
}

.tt-navbar .dropdown-menu {
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: var(--tt-radius-lg);
    box-shadow: var(--tt-shadow-lg);
    padding: .5rem;
    min-width: 220px;
}

.tt-navbar .dropdown-item {
    color: var(--tt-dark);
    border-radius: var(--tt-radius);
    padding: .55rem .85rem;
    font-size: .875rem;
    transition: background var(--tt-transition);
}

.tt-navbar .dropdown-item:hover,
.tt-navbar .dropdown-item:focus {
    background: var(--tt-primary-light);
    color: var(--tt-dark);
}

.tt-navbar .dropdown-item.text-danger {
    color: #dc3545 !important;
}

.tt-navbar .dropdown-item.text-danger:hover {
    background: #fef2f2;
    color: #dc3545 !important;
}

/* Mobile navbar */
@media (max-width: 991.98px) {
    .tt-navbar .navbar-collapse {
        background: #fff;
        border-radius: var(--tt-radius-lg);
        box-shadow: var(--tt-shadow-lg);
        padding: 1rem;
        margin-top: .75rem;
    }

    .tt-navbar .nav-link.active::after {
        display: none;
    }
}


/* ============================================
   BUTTONS (Global)
   ============================================ */
.btn-tt-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .95rem;
    background: var(--tt-primary);
    color: #fff;
    border: none;
    border-radius: 50rem;
    padding: .7rem 1.75rem;
    transition: all var(--tt-transition);
    cursor: pointer;
}

.btn-tt-primary:hover {
    background: var(--tt-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(65, 67, 181, .3);
}

.btn-tt-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .95rem;
    background: transparent;
    color: var(--tt-primary);
    border: 2px solid var(--tt-primary);
    border-radius: 50rem;
    padding: .6rem 1.75rem;
    transition: all var(--tt-transition);
    cursor: pointer;
}

.btn-tt-outline:hover {
    background: var(--tt-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-tt-accent {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .95rem;
    background: var(--tt-accent);
    color: var(--tt-dark);
    border: none;
    border-radius: 50rem;
    padding: .7rem 1.75rem;
    transition: all var(--tt-transition);
    cursor: pointer;
}

.btn-tt-accent:hover {
    background: var(--tt-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 60, .3);
}

.btn-tt-white {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .95rem;
    background: #fff;
    color: var(--tt-primary);
    border: none;
    border-radius: 50rem;
    padding: .7rem 1.75rem;
    transition: all var(--tt-transition);
    cursor: pointer;
}

.btn-tt-white:hover {
    background: var(--tt-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--tt-shadow);
}

.btn-tt-outline-white {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .95rem;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 50rem;
    padding: .6rem 1.75rem;
    transition: all var(--tt-transition);
    cursor: pointer;
}

.btn-tt-outline-white:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}


/* ============================================
   SECTION UTILITIES
   ============================================ */
.tt-section {
    padding: 5rem 0;
}

.tt-section-sm {
    padding: 3rem 0;
}

.tt-section-dark {
    background: var(--tt-dark);
    color: rgba(255, 255, 255, .85);
}

.tt-section-dark h1,
.tt-section-dark h2,
.tt-section-dark h3,
.tt-section-dark h4 {
    color: #fff;
}

.tt-section-light {
    background: url("../images/background.svg") no-repeat center center fixed;
    background-size: cover;
}

.tt-section-header {
    max-width: 640px;
    margin-bottom: 3rem;
}

.tt-section-header.text-center {
    margin-left: auto;
    margin-right: auto;
}

.tt-pretitle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--tt-font);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tt-accent);
    margin-bottom: .75rem;
}

.tt-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.tt-title .accent {
    color: var(--tt-primary);
}

.tt-subtitle {
    font-family: var(--tt-font);
    font-size: 1.05rem;
    color: var(--tt-text-muted);
    line-height: 1.7;
}


/* ============================================
   HERO SECTION
   ============================================ */
.tt-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--tt-dark);
}

.tt-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    
}

.tt-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* On-brand SFS gradient: dark navy → primary indigo, with a hint of accent red. */
    background:
        radial-gradient(circle at 80% 70%, rgba(232, 51, 62, .25), transparent 50%),
        linear-gradient(135deg, rgba(26, 26, 46, .9) 0%, rgba(65, 67, 181, .65) 100%);
}

.tt-hero-content {
    position: relative;
    z-index: 2;
    padding: 6rem 0 4rem;
}

.tt-hero .tt-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    border-radius: 50rem;
    padding: .45rem 1.25rem;
    font-size: .85rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.5rem;
}

.tt-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.tt-hero-title .accent {
    color: var(--tt-accent);
}

.tt-hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, .75);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tt-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, .5);
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    z-index: 2;
}

.tt-hero-scroll i {
    display: block;
    margin-top: .5rem;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* Trust indicators in hero */
.tt-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.tt-trust-item {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.tt-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tt-accent);
    font-size: 1rem;
}

.tt-trust-value {
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
}

.tt-trust-label {
    font-size: .75rem;
    color: rgba(255, 255, 255, .55);
}

/* Hero featured card */
.tt-hero-card {
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--tt-radius-xl);
    overflow: hidden;
    transition: transform var(--tt-transition);
}

.tt-hero-card:hover {
    transform: translateY(-4px);
}

.tt-hero-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.tt-hero-card-body {
   
    color: #ffffff;
     font-weight: 600;
   
    padding: 1.25rem 1.5rem;
   
}

.tt-hero-card .card-badge {
    display: inline-block;
    background: var(--tt-accent);
    color: var(#fff);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .3rem .75rem;
    border-radius: 50rem;
    margin-bottom: .6rem;
}

.tt-hero-card h4 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: .6rem;
}

.tt-hero-card-meta {
    display: flex;
    gap: 1rem;
    font-size: .9rem;
    color: #ffffff;
    margin-bottom: .75rem;
}

.tt-hero-card-meta p {
    color: #ffffff !important;
    margin: 0;
    line-height: 1.55;
}

.tt-hero-card-meta i {
    margin-right: .3rem;
}

.tt-hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: .75rem;
}

.tt-hero-card .price-from {
    font-size: .7rem;
    color: rgba(255, 255, 255, .5);
}

.tt-hero-card .price-value {
    font-family: var(--tt-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tt-accent);
}

.tt-hero-card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    transition: gap var(--tt-transition);
}

.tt-hero-card-link:hover {
    gap: .7rem;
    color: var(--tt-accent);
}


/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.tt-page-hero {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--tt-dark) 0%, var(--tt-primary) 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
}

/* Legacy image-bg div from older views — neutralised; new hero uses the gradient. */
.tt-page-hero-bg {
    display: none;
}

.tt-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(232, 51, 62, .18), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, .08), transparent 50%);
    pointer-events: none;
}

.tt-page-hero .container {
    position: relative;
    z-index: 2;
}

.tt-page-hero .breadcrumb {
    justify-content: center;
    margin-bottom: 1rem;
}

.tt-page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, .6);
}

.tt-page-hero .breadcrumb-item a:hover {
    color: var(--tt-accent);
}

.tt-page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .9);
}

.tt-page-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .3);
}

.tt-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: .75rem;
}

.tt-page-title .accent {
    color: var(--tt-accent);
}

.tt-page-subtitle {
    font-family: var(--tt-font);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .65);
    max-width: 580px;
    margin: 0 auto;
}



/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */
.tt-feature-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.tt-feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--tt-radius);
    background: var(--tt-primary-light);
    color: var(--tt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.tt-feature-item h4 {
    font-family: var(--tt-font);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

.tt-feature-item p {
    font-size: .9rem;
    color: var(--tt-text-muted);
    margin-bottom: 0;
}

/* Feature cards (grid) */
.tt-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tt-feature-card {
    position: relative;
    overflow: hidden; /* keep the fill inside */
    background: #fff;
    border-radius: var(--tt-radius-lg);
    padding: 2rem;
    border: 4px solid var(--tt-border);
    transition: all var(--tt-transition);
    min-height: 290px;
}

/* Fill overlay */
.tt-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;              /* start hidden off to the left */
    width: 100%;
    height: 100%;
    background-color: var(--tt-cards); /* fill color */
    z-index: 0;
    transition: left 0.6s ease;
}

.tt-feature-card:hover {
    border-color: var(--tt-primary);
    box-shadow: var(--tt-shadow);
    transform: translateY(-4px);
}

.tt-feature-card:hover::before {
    left: 0;                  /* slides in to cover the card */
}

.tt-feature-card .icon {
    width: 56px;
    height: 56px;
    border-radius: var(--tt-radius);
    background: #fff;          /* icon background is white */
    color: var(--tt-primary);  /* icon color matches theme */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1; /* keep above fill */
    transition: background 0.3s ease, color 0.3s ease;
}

.tt-feature-card h4 {
    font-family: var(--tt-font);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .5rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tt-feature-card p {
    font-size: .9rem;
    color: var(--tt-text-muted);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

/* Text turns white on hover */
.tt-feature-card:hover h4,
.tt-feature-card:hover p {
    color: var(--tt-dark-soft);
}

/* Icon stays white background, but flips to accent color text on hover */
.tt-feature-card:hover .icon {
    background: #fff;
    color: var(--tt-accent);
}

/* ============================================
   CTA BANNER
   ============================================ */
.tt-cta {
    background: linear-gradient(135deg, var(--tt-primary) 0%, var(--tt-primary-dark) 100%);
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.tt-cta h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: .75rem;
}

.tt-cta p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .75);
    max-width: 560px;
    margin: 0 auto 2rem;
}

.tt-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tt-cta .icon-lg {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: .6;
}


/* ============================================
   SEARCH / FILTER BAR
   ============================================ */
.tt-search-bar {
    background: #fff;
    border-radius: var(--tt-radius-xl);
    box-shadow: var(--tt-shadow-lg);
    padding: 1.5rem 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.tt-form-group label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--tt-text-muted);
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.tt-form-group label i {
    color: var(--tt-primary);
}

.tt-input,
.tt-select {
    width: 100%;
    font-family: var(--tt-font);
    font-size: .9rem;
    color: var(--tt-text);
    border: 1.5px solid var(--tt-border);
    border-radius: var(--tt-radius);
    padding: .6rem .85rem;
    transition: border-color var(--tt-transition);
    background: #fff;
}

.tt-input:focus,
.tt-select:focus {
    border-color: var(--tt-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(65, 67, 181, .12);
}


/* ============================================
   BLOG CARDS
   ============================================ */
.tt-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.tt-blog-card {
    background: #fff;
    border-radius: var(--tt-radius-xl);
    overflow: hidden;
    box-shadow: var(--tt-shadow-sm);
    transition: transform var(--tt-transition), box-shadow var(--tt-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tt-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tt-shadow-lg);
}

.tt-blog-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tt-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.tt-blog-card:hover .tt-blog-card-img img {
    transform: scale(1.05);
}

.tt-blog-card-img .badge-cat {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: var(--tt-accent-dark);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: .35rem .85rem;
    border-radius: 50rem;
}

.tt-blog-card-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Push the Read More link to the bottom so cards line up regardless of description length */
.tt-blog-card .tt-blog-card-link {
    margin-top: auto;
}

/* ============================================
   NOTICE POPUP — centered, stylish, all public pages
   ============================================ */
.notice-popup {
    position: fixed;
    inset: 0;
    z-index: 9200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    pointer-events: none;
}

.notice-popup[hidden] { display: none; }

.notice-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 16, 35, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: auto;
}

.notice-popup--open .notice-popup-backdrop { opacity: 1; }

.notice-popup--closing .notice-popup-backdrop,
.notice-popup--closing .notice-popup-card {
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.notice-popup-card {
    position: relative;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .35),
        0 4px 16px rgba(0, 0, 0, .12);
    padding: 1.75rem 1.5rem 1.5rem;
    max-width: 420px;
    width: 100%;
    text-align: left;
    overflow: hidden;
    opacity: 0;
    transform: scale(.9) translateY(20px);
    transition: opacity .35s cubic-bezier(.34, 1.56, .64, 1),
                transform .35s cubic-bezier(.34, 1.56, .64, 1);
    pointer-events: auto;
}

.notice-popup--open .notice-popup-card {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Gradient accent strip at top of card */
.notice-popup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--tt-primary) 0%, var(--tt-accent) 100%);
}

.notice-popup-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.notice-popup-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tt-primary) 0%, var(--tt-accent) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 6px 16px rgba(65, 67, 181, .35);
}

.notice-popup-badge {
    display: inline-block;
    background: var(--tt-accent-light);
    color: var(--tt-accent);
    font-size: .68rem;
    font-weight: 700;
    padding: .3rem .65rem;
    border-radius: 50rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1;
}

.notice-popup-title {
    font-size: 1.2rem;
    line-height: 1.3;
    margin: 0 0 .65rem;
    color: var(--tt-dark);
    font-family: var(--tt-font-display);
    font-weight: 700;
    padding-right: 2.25rem;
}

.notice-popup-body {
    margin: 0 0 1.25rem;
    color: var(--tt-text);
    font-size: .92rem;
    line-height: 1.55;
}

.notice-popup-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--tt-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .85rem;
    transition: color .2s ease, background .2s ease;
}

.notice-popup-close:hover {
    background: var(--tt-light);
    color: var(--tt-dark);
}

.notice-popup-ok {
    display: block;
    width: 100%;
    background: var(--tt-primary);
    color: #fff;
    border: 0;
    border-radius: 50rem;
    padding: .7rem 1.5rem;
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}

.notice-popup-ok:hover {
    background: var(--tt-primary-dark);
    transform: translateY(-1px);
}

/* Compact tweaks on small phones */
@media (max-width: 380px) {
    .notice-popup-card { padding: 1.5rem 1.25rem 1.25rem; }
    .notice-popup-title { font-size: 1.05rem; }
    .notice-popup-body { font-size: .88rem; }
}

/* ============================================
   PASSWORD INPUT WITH SHOW/HIDE TOGGLE
   ============================================ */
.tt-password-wrap {
    position: relative;
    display: block;
}

.tt-password-wrap .tt-input,
.tt-password-wrap .form-control {
    padding-right: 2.75rem; /* leave room for the eye inside the input */
}

.tt-password-toggle {
    position: absolute;
    right: .65rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: rgba(58, 58, 74, .35);   /* soft gray — barely there until you look */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    line-height: 1;
    transition: color .2s ease;
}

.tt-password-toggle:hover,
.tt-password-toggle:focus-visible {
    color: var(--tt-primary);
    background: transparent;        /* no fill, just colour change */
}

.tt-password-toggle:focus-visible {
    outline: 1px dashed var(--tt-primary);
    outline-offset: 2px;
}

/* Pressed state (i.e. password is currently visible) — slightly darker */
.tt-password-toggle[aria-pressed="true"] {
    color: var(--tt-primary);
}

.tt-auth-link-sm {
    color: var(--tt-primary);
    font-size: .85rem;
    text-decoration: none;
}

.tt-auth-link-sm:hover {
    color: var(--tt-primary-dark);
    text-decoration: underline;
}

.tt-blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    color: var(--tt-text-muted);
    margin-bottom: .6rem;
}

.tt-blog-card-meta i {
    color: var(--tt-accent);
    margin-right: .25rem;
}

.tt-blog-card-title {
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.tt-blog-card-title a {
    color: var(--tt-dark);
}

.tt-blog-card-title a:hover {
    color: var(--tt-accent);
}

.tt-blog-card-excerpt {
    font-size: .9rem;
    color: var(--tt-text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--tt-accent-dark);
    transition: gap var(--tt-transition);
}

.tt-blog-card-link:hover {
    gap: .7rem;
}


/* ============================================
   CONTACT FORM
   ============================================ */
.tt-contact-card {
    position: relative;
    overflow: hidden; /* keep the fill inside */
    background: #fff;
    border-radius: var(--tt-radius-lg);
    padding: 1.5rem;
    border: 3px solid var(--tt-border);
    text-align: center;
    transition: all var(--tt-transition);
    min-height: 260px;
}

/* The "water fill" overlay */
.tt-contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;              /* start hidden off to the left */
    width: 100%;
    height: 100%;
    background-color: var(--tt-cards); /* fill color */
    z-index: 0;
    transition: left 0.6s ease; /* smooth slide in */
}

.tt-contact-card:hover {
    border-color: var(--tt-primary);
    box-shadow: var(--tt-shadow);
}

.tt-contact-card:hover::before {
    left: 0;                  /* slides in to cover the card */
}

.tt-contact-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;          /* keep icon background white */
    color: var(--tt-primary);  /* theme color */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1; /* keep above fill */
    transition: background 0.3s ease, color 0.3s ease;
}

.tt-contact-card h5 {
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: .4rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tt-contact-card p,
.tt-contact-card a {
    font-size: .875rem;
    color: var(--tt-text-muted);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

/* Text turns white on hover */
.tt-contact-card:hover h5,
.tt-contact-card:hover p,
.tt-contact-card:hover a {
    color: var(--tt-dark-soft);
}

/* Icon flips to accent color on hover */
.tt-contact-card:hover .icon {
    background: #fff;
    color: var(--tt-accent);
}


.tt-form-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--tt-text);
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.tt-form-label i {
    color: var(--tt-primary);
    font-size: .75rem;
}

.tt-form-input,
.tt-form-textarea {
    width: 100%;
    font-family: var(--tt-font);
    font-size: .9rem;
    color: var(--tt-text);
    border: 1.5px solid var(--tt-border);
    border-radius: var(--tt-radius);
    padding: .65rem .95rem;
    width: 100%;
    transition: border-color var(--tt-transition), box-shadow var(--tt-transition);
}

.tt-form-input:focus,
.tt-form-textarea:focus {
    border-color: var(--tt-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(65, 67, 181, .12);
}

.tt-form-input.error,
.tt-form-textarea.error {
    border-color: #e53e3e;
}

.tt-form-error {
    font-size: .8rem;
    color: #e53e3e;
    margin-top: .3rem;
}


/* ============================================
   ACCORDION / FAQ
   ============================================ */
.tt-accordion .accordion-item {
    position: relative;
    overflow: hidden; /* keep the fill inside */
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: var(--tt-radius-lg) !important;
    margin-bottom: .75rem;
    transition: all var(--tt-transition);
}

/* The "water fill" overlay */
.tt-accordion .accordion-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;              /* start hidden off to the left */
    width: 100%;
    height: 100%;
    background-color: var(--tt-cards); /* fill color */
    z-index: 0;
    transition: left 0.6s ease; /* smooth slide in */
}

.tt-accordion .accordion-item:hover {
    border-color: var(--tt-primary);
    box-shadow: var(--tt-shadow);
}

.tt-accordion .accordion-item:hover::before {
    left: 0;                  /* slides in to cover the item */
}

.tt-accordion .accordion-button {
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .95rem;
    color: var(--tt-dark);
    background: #fff;
    padding: 1rem 1.25rem;
    box-shadow: none;
    gap: .5rem;
    position: relative;
    z-index: 1; /* keep above fill */
    transition: color 0.3s ease, background 0.3s ease;
}

.tt-accordion .accordion-button:not(.collapsed) {
    color: var(--tt-primary);
    background: var(--tt-primary-light);
}

.tt-accordion .accordion-button::after {
    background-image: none;
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .75rem;
    color: var(--tt-text-muted);
    position: relative;
    z-index: 1;
}

.tt-accordion .accordion-body {
    font-size: .9rem;
    color: var(--tt-text-muted);
    line-height: 1.7;
    padding: 0 1.25rem 1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

/* Text turns white on hover */
.tt-accordion .accordion-item:hover .accordion-button,
.tt-accordion .accordion-item:hover .accordion-body {
    color: var(--tt-dark-soft);
}


/* ============================================
   PAGINATION
   ============================================ */
.tt-pagination .page-link {
    font-family: var(--tt-font);
    font-size: .875rem;
    font-weight: 500;
    color: var(--tt-text);
    border-color: var(--tt-border);
    border-radius: var(--tt-radius);
    padding: .5rem .85rem;
    margin: 0 .15rem;
    transition: all var(--tt-transition);
}

.tt-pagination .page-link:hover {
    background: var(--tt-primary-light);
    border-color: var(--tt-primary);
    color: var(--tt-primary);
}

.tt-pagination .active .page-link {
    background: var(--tt-primary);
    border-color: var(--tt-primary);
    color: #fff;
}





/* ============================================
   MISSION CARDS
   ============================================ */
.tt-mission-card {
    position: relative;
    overflow: hidden; /* keep the fill inside */
    background: #fff;
    border: 3px solid var(--tt-border);
    border-radius: var(--tt-radius-xl);
    padding: 2.5rem;
    height: 100%;
    transition: all var(--tt-transition);
}

/* The "water fill" overlay */
.tt-mission-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;              /* start hidden off to the left */
    width: 100%;
    height: 100%;
    background-color: var(--tt-cards); /* fill color */
    z-index: 0;
    transition: left 0.6s ease; /* smooth slide in */
}

.tt-mission-card:hover {
    border-color: var(--tt-primary);
    box-shadow: var(--tt-shadow);
}

.tt-mission-card:hover::before {
    left: 0;                  /* slides in to cover the card */
}

.tt-mission-card .icon {
    width: 60px;
    height: 60px;
    border-radius: var(--tt-radius-lg);
    background: #fff;          /* icon background is white */
    color: var(--tt-primary);  /* icon color matches theme */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1; /* keep above fill */
    transition: background 0.3s ease, color 0.3s ease;
}

.tt-mission-card h3 {
    font-size: 1.2rem;
    margin-bottom: .75rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tt-mission-card p {
    color: var(--tt-text-muted);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

/* Text turns white on hover */
.tt-mission-card:hover h3,
.tt-mission-card:hover p {
    color: var(--tt-dark-soft);
}

/* Icon stays white background, but flips to accent color text on hover */
.tt-mission-card:hover .icon {
    background: #fff;
    color: var(--tt-accent);
}


/* ============================================
   VALUE CARDS
   ============================================ */
.tt-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.tt-value-card {
    position: relative;
    overflow: hidden; /* keep the fill inside */
    background: #fff;
    border-radius: var(--tt-radius-xl);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border: 3px solid var(--tt-border);
    min-height: 270px;
}

/* The "water fill" overlay */
.tt-value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;              /* start hidden off to the left */
    width: 100%;
    height: 100%;
    background-color: var(--tt-cards); /* fill color */
    z-index: 0;
    transition: left 0.6s ease; /* smooth slide in */
}

.tt-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tt-shadow);
    border-color: var(--tt-primary);
}

.tt-value-card:hover::before {
    left: 0;                  /* slides in to cover the card */
}

.tt-value-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;          /* icon background is white */
    color: var(--tt-primary);  /* icon color matches card theme */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1; /* keep above fill */
    transition: background 0.3s ease, color 0.3s ease;
}

.tt-value-card h4 {
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: .5rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.tt-value-card p {
    font-size: .875rem;
    color: var(--tt-text-muted);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

/* Text turns white on hover */
.tt-value-card:hover h4,
.tt-value-card:hover p {
    color:var(--tt-dark-soft);
}

/* Icon stays white background, but flips to accent color text on hover */
.tt-value-card:hover .icon {
    background: #fff;
    color: var(--tt-accent);
}

/* ============================================
   CATEGORY CARDS (used on packages/blog)
   ============================================ */
.tt-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.tt-cat-card {
    background: #fff;
    border-radius: var(--tt-radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--tt-border);
    transition: all var(--tt-transition);
}

.tt-cat-card:hover {
    border-color: var(--tt-primary);
    box-shadow: var(--tt-shadow);
    transform: translateY(-3px);
}

.tt-cat-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--tt-primary-light);
    color: var(--tt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 auto .75rem;
}

.tt-cat-card h5 {
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .2rem;
}

.tt-cat-card .count {
    font-size: .8rem;
    color: var(--tt-text-muted);
}


/* Sidebar card */
.tt-sidebar-card {
    background: #fff;
    border-radius: var(--tt-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--tt-shadow-sm);
    border: 1px solid var(--tt-border);
    margin-bottom: 1.5rem;
}

.tt-sidebar-card .price-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--tt-text-muted);
}

.tt-sidebar-card .price-amount {
    font-family: var(--tt-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--tt-primary);
}

.tt-info-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--tt-border);
}

.tt-info-row:last-child {
    border-bottom: 0;
}

.tt-info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--tt-radius);
    background: var(--tt-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

.tt-info-label {
    font-size: .75rem;
    color: var(--tt-text-muted);
}

.tt-info-value {
    font-size: .9rem;
    font-weight: 600;
    color: var(--tt-dark);
}



/* ============================================
   FOOTER
   ============================================ */
.tt-footer {
    background: var(--tt-dark-soft);
    color: rgba(255, 255, 255, .7);
    padding: 4rem 0 0;
}

.tt-footer .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--tt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.tt-footer h4 {
    color: #fff;
    font-family: var(--tt-font-display);
    font-size: 1.25rem;
}
.brand-accent {
    color: var(--tt-accent);
    font-style: italic;
}
.brand-primary {
    color: var(--tt-primary);
    font-style: italic;
}
.tt-footer h5 {
    color: #fff;
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 1.25rem;
}

.tt-footer-link {
    display: block;
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
    padding: .25rem 0;
    transition: all var(--tt-transition);
}

.tt-footer-link:hover {
    color: var(--tt-accent);
    padding-left: .3rem;
}

.tt-footer .social-links {
    display: flex;
    gap: .5rem;
    margin-top: 1.25rem;
}

.tt-footer .social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: all var(--tt-transition);
}

.tt-footer .social-icon:hover {
    background: var(--tt-primary);
    color: #fff;
}

.tt-footer .contact-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .85rem;
}

.tt-footer .contact-row i {
    color: var(--tt-primary);
    margin-top: .2rem;
}

.tt-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.tt-footer-bottom p {
    margin-bottom: 0;
    font-size: .85rem;
    color: rgba(255, 255, 255, .45);
}

.tt-footer-bottom a {
    color: rgba(255, 255, 255, .55);
    font-size: .85rem;
}

.tt-footer-bottom a:hover {
    color: var(--tt-accent);
}


/* ============================================
   AUTH PAGES
   ============================================ */
.tt-auth-bg {
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tt-dark) 0%, var(--tt-primary-dark) 100%);
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.tt-auth-card {
    background: #fff;
    border-radius: var(--tt-radius-xl);
    box-shadow: var(--tt-shadow-lg);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    box-sizing: border-box;
}

.tt-auth-card * { box-sizing: border-box; }

@media (max-width: 575px) {
    .tt-auth-bg {
        padding: 1.5rem 1rem;
        align-items: flex-start;
    }
    .tt-auth-card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
        width: calc(100% - 0px);
        max-width: 100%;
        box-sizing: border-box;
    }
}

.tt-auth-card .brand-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--tt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.tt-auth-card h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: .3rem;
}

.tt-auth-card .subtitle {
    text-align: center;
    font-size: .9rem;
    color: var(--tt-text-muted);
    margin-bottom: 2rem;
}




/* ============================================
   EMPTY STATE
   ============================================ */
.tt-empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.tt-empty-state .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--tt-light);
    color: var(--tt-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.tt-empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

.tt-empty-state p {
    color: var(--tt-text-muted);
    max-width: 400px;
    margin: 0 auto 1.5rem;
}


/* ============================================
   QUICK INFO (contact page)
   ============================================ */
.tt-quick-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tt-quick-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: var(--tt-radius-lg);
    padding: 1rem 1.25rem;
    border: 1px solid var(--tt-border);
}

.tt-quick-info-item .icon {
    width: 42px;
    height: 42px;
    border-radius: var(--tt-radius);
    background: var(--tt-primary-light);
    color: var(--tt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.tt-quick-info-item h6 {
    font-family: var(--tt-font);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .1rem;
}

.tt-quick-info-item p {
    font-size: .8rem;
    color: var(--tt-text-muted);
    margin-bottom: 0;
}


/* ============================================
   FLASH MESSAGES (alerts)
   ============================================ */
.tt-alert {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.25rem;
    border-radius: var(--tt-radius);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.tt-alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.tt-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}


/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767.98px) {
    .tt-hero {
        min-height: 80vh;
    }

    .tt-hero-content {
        padding: 14rem 0 3rem;
    }

    .tt-trust-row {
        flex-direction: column;
        gap: 1rem;
    }

    .tt-dest-grid {
        grid-template-columns: 1fr;
    }

    .tt-blog-grid {
        grid-template-columns: 1fr;
    }

    .tt-search-bar {
        margin-top: -2rem;
        padding: 1rem 1.25rem;
    }

    .tt-newsletter-form {
        flex-direction: column;
    }

    .tt-cart-table thead {
        display: none;
    }

    .tt-cart-table tbody td {
        display: block;
        text-align: right;
        padding: .5rem 1rem;
    }

    .tt-cart-table tbody td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        text-transform: uppercase;
        font-size: .75rem;
        color: var(--tt-text-muted);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .tt-dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tt-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================
   MOBILE POLISH (additive)
   ============================================ */

/* Mobile navbar refinements */
@media (max-width: 991.98px) {
    /* Brand + toggler share row 1. Collapsed menu wraps to row 2. */
    .tt-navbar .container-fluid { flex-wrap: wrap; }

    .tt-navbar .navbar-brand {
        font-size: .8rem;
        flex: 1 1 0;
        min-width: 0;
        margin-right: .5rem;
        gap: .4rem;
        letter-spacing: -.01em;
    }

    /* Logo container: shrink to fit the image — no 100px gutter on phones */
    .tt-navbar .navbar-brand .brand-icon {
        width: auto;
        flex: 0 0 auto;
    }

    .tt-navbar .navbar-brand .brand-icon img { height: 30px !important; }

    /* Brand text span — single line, full text, smaller font so it always fits */
    .tt-navbar .navbar-brand > span {
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: visible;
    }

    /* Toggler always hugs the right edge */
    .tt-navbar .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
    }

    /* Collapsed menu drops onto its own row below brand + toggler */
    .tt-navbar .navbar-collapse {
        flex-basis: 100%;
        padding: 1.25rem;
        margin-top: .5rem;
        background: #fff;
        border: 1px solid var(--tt-border);
        border-radius: var(--tt-radius-lg);
        box-shadow: var(--tt-shadow-lg);
    }

    .tt-navbar .navbar-nav {
        gap: .15rem;
    }

    .tt-navbar .nav-link {
        padding: .65rem .85rem !important;
        border-radius: var(--tt-radius);
        font-size: .95rem;
    }

    .tt-navbar .nav-link.active {
        background: var(--tt-primary-light);
        color: var(--tt-primary) !important;
    }

    .tt-navbar .nav-link:hover {
        background: var(--tt-light);
    }

    /* Only style the user-actions block INSIDE the collapsed menu — not the brand */
    .tt-navbar .navbar-collapse > .d-flex.align-items-center {
        margin-top: .75rem;
        padding-top: .75rem;
        border-top: 1px solid var(--tt-border);
    }

    .tt-navbar .btn-sign-in {
        width: 100%;
        justify-content: center;
    }
}

/* Tighter sections on small screens */
@media (max-width: 767.98px) {
    .tt-section { padding: 3rem 0; }
    .tt-section-sm { padding: 2rem 0; }
    .tt-section-header { margin-bottom: 2rem; }

    .tt-feature-card {
        padding: 1.5rem;
        min-height: auto;
        border-width: 2px;
    }

    .tt-feature-card h4 { font-size: 1rem; }
    .tt-feature-card p { font-size: .875rem; }

    .tt-hero-content { padding: 14rem 0 2rem; }
    .tt-hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem) !important; }
    .tt-hero-text { font-size: .95rem !important; }

    .tt-footer { padding: 2.5rem 0 1rem !important; }
    .tt-footer h4, .tt-footer h5 { font-size: 1rem; margin-bottom: .75rem; }
    .tt-footer .col-lg-2, .tt-footer .col-lg-3, .tt-footer .col-lg-4 { margin-bottom: 1rem; }
    .tt-footer-bottom { text-align: center; }
    .tt-footer-bottom .col-md-6.text-md-end { text-align: center !important; margin-top: .5rem; }
}

/* Brand text on mobile — drop italics (they're wider) so the full name fits */
@media (max-width: 991.98px) {
    .tt-navbar .navbar-brand .brand-primary,
    .tt-navbar .navbar-brand .brand-accent {
        font-style: normal;
    }
}

/* Very small phones — shrink brand text further (but keep it visible) */
@media (max-width: 575.98px) {
    .tt-navbar .navbar-brand { font-size: .72rem; gap: .35rem; }
    .tt-navbar .navbar-brand .brand-icon img { height: 28px !important; }
}

@media (max-width: 420px) {
    .tt-navbar .navbar-brand { font-size: .62rem; gap: .25rem; }
    .tt-navbar .navbar-brand .brand-icon img { height: 26px !important; }
    .tt-section { padding: 2.5rem 0; }
}

@media (max-width: 360px) {
    .tt-navbar .navbar-brand { font-size: .55rem; }
    .tt-navbar .navbar-brand .brand-icon img { height: 24px !important; }
}

/* Mobile hero CTA shown only on small screens */
.tt-hero-mobile-content {
    display: none;
    color: #fff;
    position: relative;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .tt-hero-mobile-content {
        display: block;
        padding-top: 1rem;
        text-align: center;
    }

    .tt-hero-mobile-content .tt-badge {
        margin: 0 auto 1.25rem;
    }

    .tt-hero-mobile-content h1 {
        color: #fff;
        font-size: clamp(1.85rem, 6vw, 2.5rem);
        margin-bottom: .75rem;
    }

    .tt-hero-mobile-content h1 .accent { color: var(--tt-accent); }

    .tt-hero-mobile-content p {
        color: rgba(255,255,255,.85);
        font-size: 1rem;
        max-width: 90%;
        margin: 0 auto 1.5rem;
    }

    .tt-hero-mobile-content .btn-tt-primary {
        padding: .65rem 1.5rem;
        font-size: .95rem;
    }
}