/*
Theme Name: TestCrate
Theme URI: https://testcrate.com/
Author: TestCrate Team
Author URI: https://testcrate.com/
Description: A fully customised, SEO-optimized WordPress theme for online exam and government job preparation portals. Built with performance, accessibility, and search engine optimization in mind.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: testcrate
Tags: education, exam-portal, government-jobs, seo-optimized, responsive, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  --tc-primary:        #1a56db;
  --tc-primary-dark:   #1340a8;
  --tc-primary-light:  #e8f0fe;
  --tc-accent:         #ff6b35;
  --tc-accent-dark:    #e55a26;
  --tc-success:        #0ea572;
  --tc-warning:        #f59e0b;
  --tc-danger:         #ef4444;
  --tc-dark:           #111827;
  --tc-text:           #374151;
  --tc-muted:          #6b7280;
  --tc-border:         #e5e7eb;
  --tc-bg:             #f9fafb;
  --tc-white:          #ffffff;

  --tc-font-sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tc-font-heading:   'Poppins', 'Inter', sans-serif;

  --tc-radius-sm:      6px;
  --tc-radius:         10px;
  --tc-radius-lg:      16px;
  --tc-radius-xl:      24px;
  --tc-radius-full:    9999px;

  --tc-shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --tc-shadow:         0 4px 16px rgba(0,0,0,.10);
  --tc-shadow-lg:      0 8px 32px rgba(0,0,0,.14);
  --tc-shadow-xl:      0 20px 60px rgba(0,0,0,.18);

  --tc-transition:     all .22s cubic-bezier(.4,0,.2,1);
  --tc-container:      1200px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
}

body {
  font-family: var(--tc-font-sans);
  color: var(--tc-text);
  background: var(--tc-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

/* ---- WordPress block/site wrappers: force full-width ---- */
.wp-site-blocks,
.site,
#page,
#content,
#primary,
.site-content,
.content-area,
.wp-block-template-part,
.entry-content,
.wp-block-post-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--tc-primary); text-decoration: none; transition: var(--tc-transition); }
a:hover { color: var(--tc-primary-dark); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--tc-font-heading);
  color: var(--tc-dark);
  line-height: 1.25;
  font-weight: 700;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--tc-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding { padding: 80px 0; }

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--tc-primary) 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: var(--tc-radius-full);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge-primary { background: var(--tc-primary-light); color: var(--tc-primary); }
.badge-accent  { background: #fff3ee; color: var(--tc-accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--tc-radius-full);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--tc-transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--tc-primary);
  color: var(--tc-white);
  border-color: var(--tc-primary);
  box-shadow: 0 4px 14px rgba(26,86,219,.35);
}
.btn-primary:hover {
  background: var(--tc-primary-dark);
  border-color: var(--tc-primary-dark);
  color: var(--tc-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,86,219,.45);
}
.btn-accent {
  background: var(--tc-accent);
  color: var(--tc-white);
  border-color: var(--tc-accent);
  box-shadow: 0 4px 14px rgba(255,107,53,.35);
}
.btn-accent:hover {
  background: var(--tc-accent-dark);
  border-color: var(--tc-accent-dark);
  color: var(--tc-white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--tc-primary);
  border-color: var(--tc-primary);
}
.btn-outline:hover {
  background: var(--tc-primary);
  color: var(--tc-white);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .85rem; }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tc-primary);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--tc-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--tc-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.tc-topbar {
  background: var(--tc-dark);
  color: #d1d5db;
  font-size: .82rem;
  padding: .45rem 0;
  width: 100%;
  display: block;
}
.tc-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.tc-topbar-left { display: flex; align-items: center; gap: 1.25rem; }
.tc-topbar-left a { color: #9ca3af; }
.tc-topbar-left a:hover { color: var(--tc-white); }
.tc-topbar-right a {
  color: var(--tc-white);
  background: var(--tc-primary);
  padding: .25rem .85rem;
  border-radius: var(--tc-radius-full);
  font-weight: 600;
  font-size: .8rem;
}
.tc-topbar-right a:hover { background: var(--tc-primary-dark); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.tc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--tc-white);
  border-bottom: 1px solid var(--tc-border);
  box-shadow: var(--tc-shadow-sm);
  transition: var(--tc-transition);
  width: 100%;
  left: 0;
  right: 0;
}
.tc-header.scrolled {
  box-shadow: var(--tc-shadow);
}
.tc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 1.5rem;
  width: 100%;
}
.tc-logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.tc-logo img { height: 36px; width: auto; }
.tc-logo-text {
  font-family: var(--tc-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--tc-primary);
}
.tc-logo-text span { color: var(--tc-accent); }

/* Primary nav — always visible on desktop */
.tc-nav {
  display: flex !important;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}
.tc-nav ul,
.tc-nav .tc-nav-list {
  display: flex !important;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.tc-nav li { position: relative; }
.tc-nav a {
  display: flex;
  align-items: center;
  padding: .5rem .85rem;
  border-radius: var(--tc-radius);
  font-weight: 500;
  font-size: .93rem;
  color: var(--tc-text);
  transition: var(--tc-transition);
  white-space: nowrap;
}
.tc-nav a:hover, .tc-nav .current-menu-item > a {
  background: var(--tc-primary-light);
  color: var(--tc-primary);
}

/* Dropdown */
.tc-nav .menu-item-has-children { position: relative; }
.tc-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--tc-white);
  border-radius: var(--tc-radius);
  box-shadow: var(--tc-shadow-lg);
  border: 1px solid var(--tc-border);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--tc-transition);
  list-style: none;
  z-index: 1001;
}
.tc-nav .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tc-nav .sub-menu a {
  display: block;
  padding: .5rem .85rem;
  border-radius: var(--tc-radius-sm);
  font-size: .9rem;
}

.tc-header-cta { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Hamburger — hidden on desktop, shown on mobile */
.tc-hamburger {
  display: none !important;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.tc-hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--tc-dark);
  border-radius: 2px;
  transition: var(--tc-transition);
}

/* Mobile nav — always hidden on desktop */
.tc-mobile-nav {
  display: none !important;
  background: var(--tc-white);
  border-top: 1px solid var(--tc-border);
  padding: 1rem 1.25rem;
}
.tc-mobile-nav.open { display: block !important; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.tc-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1a56db 100%);
  color: var(--tc-white);
  padding: 32px 0 40px;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}
.tc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.tc-hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.tc-hero-particles::before,
.tc-hero-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: .12;
}
.tc-hero-particles::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
  top: -150px; right: -100px;
}
.tc-hero-particles::after {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
  bottom: -100px; left: -50px;
}

.tc-hero-content { position: relative; z-index: 1; text-align: center; }
.tc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .33rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  padding: .297rem .66rem;
  border-radius: var(--tc-radius-full);
  font-size: .5412rem;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 0.396rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tc-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--tc-white);
  margin-bottom: 0.6rem;
  line-height: 1.1;
}
.tc-hero h1 .highlight {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tc-hero-subtitle {
  font-size: 1rem;
  color: #bfdbfe;
  max-width: 640px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

/* Search Box */
.tc-hero-search {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--tc-radius-xl);
  padding: 1rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.tc-hero-search h2 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tc-white);
  margin-bottom: 0.5rem;
}
.tc-search-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.tc-search-input {
  flex: 1;
  min-width: 200px;
  padding: .6rem 1rem;
  border-radius: var(--tc-radius-full);
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--tc-white);
  font-size: .95rem;
  outline: none;
  transition: var(--tc-transition);
}
.tc-search-input::placeholder { color: rgba(255,255,255,.55); }
.tc-search-input:focus { border-color: #60a5fa; background: rgba(255,255,255,.15); }
.tc-search-btn {
  padding: .6rem 1.5rem;
  background: var(--tc-accent);
  color: var(--tc-white);
  border: none;
  border-radius: var(--tc-radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: var(--tc-transition);
  font-size: .95rem;
}
.tc-search-btn:hover { background: var(--tc-accent-dark); transform: translateY(-1px); }

/* Category tabs */
.tc-hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 0.6rem;
}
.tc-hero-tab {
  padding: .4rem 1rem;
  border-radius: var(--tc-radius-full);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  transition: var(--tc-transition);
}
.tc-hero-tab.active,
.tc-hero-tab:hover {
  background: var(--tc-primary);
  border-color: var(--tc-primary);
  color: var(--tc-white);
}

/* Stats */
.tc-hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.tc-hero-stat { text-align: center; }
.tc-hero-stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--tc-white);
  display: block;
}
.tc-hero-stat-label {
  font-size: .72rem;
  color: #93c5fd;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   EXAM CATEGORIES
   ============================================================ */
.tc-exams { padding: 80px 0; background: var(--tc-bg); }

.tc-cat-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.tc-cat-tab {
  padding: .6rem 1.5rem;
  border-radius: var(--tc-radius-full);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--tc-border);
  background: var(--tc-white);
  color: var(--tc-muted);
  transition: var(--tc-transition);
}
.tc-cat-tab.active, .tc-cat-tab:hover {
  border-color: var(--tc-primary);
  background: var(--tc-primary);
  color: var(--tc-white);
}

.tc-exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.tc-exam-card {
  background: var(--tc-white);
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  padding: 1.25rem .85rem;
  text-align: center;
  cursor: pointer;
  transition: var(--tc-transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.tc-exam-card:hover {
  border-color: var(--tc-primary);
  box-shadow: var(--tc-shadow);
  transform: translateY(-4px);
  background: var(--tc-primary-light);
}
.tc-exam-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--tc-radius);
  background: var(--tc-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--tc-transition);
}
.tc-exam-card:hover .tc-exam-icon {
  background: var(--tc-primary);
}
.tc-exam-card:hover .tc-exam-icon svg { color: var(--tc-white); }
.tc-exam-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--tc-dark);
  line-height: 1.3;
  transition: var(--tc-transition);
}
.tc-exam-card:hover .tc-exam-name { color: var(--tc-primary); }

.tc-exams-cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.tc-how {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--tc-white) 0%, var(--tc-bg) 100%);
}
.tc-how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}
.tc-how-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--tc-primary), var(--tc-accent));
  z-index: 0;
}
.tc-step {
  background: var(--tc-white);
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--tc-transition);
}
.tc-step:hover {
  box-shadow: var(--tc-shadow-lg);
  border-color: var(--tc-primary);
  transform: translateY(-4px);
}
.tc-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tc-primary), #7c3aed);
  color: var(--tc-white);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(26,86,219,.35);
}
.tc-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.tc-step p { font-size: .93rem; color: var(--tc-muted); margin: 0; }
.tc-step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ============================================================
   FEATURES / WHY CHOOSE
   ============================================================ */
.tc-features { padding: 80px 0; background: var(--tc-bg); }
.tc-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.tc-feature-card {
  background: var(--tc-white);
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--tc-transition);
  position: relative;
  overflow: hidden;
}
.tc-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--tc-primary), #7c3aed);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: var(--tc-transition);
}
.tc-feature-card:hover {
  box-shadow: var(--tc-shadow-lg);
  border-color: var(--tc-primary);
  transform: translateY(-4px);
}
.tc-feature-card:hover::before { opacity: 1; }
.tc-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--tc-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.tc-feature-icon-1 { background: #dbeafe; }
.tc-feature-icon-2 { background: #d1fae5; }
.tc-feature-icon-3 { background: #fef3c7; }
.tc-feature-icon-4 { background: #ede9fe; }
.tc-feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.tc-feature-card p { font-size: .93rem; color: var(--tc-muted); margin: 0; }

/* ============================================================
   PRICING SECTION
   ============================================================ */
.tc-pricing {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  position: relative;
  overflow: hidden;
}
.tc-pricing::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.25) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.tc-pricing-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.tc-pricing-inner .section-title { color: var(--tc-white); }
.tc-pricing-inner .section-subtitle { color: #93c5fd; }

.tc-price-card {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.14);
  backdrop-filter: blur(20px);
  border-radius: var(--tc-radius-xl);
  padding: 3rem 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.tc-best-value {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--tc-accent), #f97316);
  color: var(--tc-white);
  padding: .35rem 1.5rem;
  border-radius: var(--tc-radius-full);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255,107,53,.4);
}
.tc-price-amount {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--tc-white);
  line-height: 1;
  margin: 1.5rem 0 .5rem;
}
.tc-price-amount sup {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: top;
  margin-top: .8rem;
  display: inline-block;
}
.tc-price-period { color: #93c5fd; font-size: 1rem; margin-bottom: 2rem; }
.tc-price-features {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  text-align: left;
  margin-bottom: 2.5rem;
}
.tc-price-feature {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: #bfdbfe;
  font-size: .95rem;
}
.tc-price-feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(14,165,114,.25);
  border: 1.5px solid rgba(14,165,114,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #34d399;
  font-size: .75rem;
}
.tc-price-cta {
  width: 100%;
  padding: 1.1rem;
  background: var(--tc-accent);
  color: var(--tc-white);
  border: none;
  border-radius: var(--tc-radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--tc-transition);
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255,107,53,.4);
}
.tc-price-cta:hover {
  background: var(--tc-accent-dark);
  color: var(--tc-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,107,53,.5);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tc-testimonials { padding: 80px 0; background: var(--tc-white); }
.tc-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.tc-testimonial-card {
  background: var(--tc-bg);
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  padding: 1.75rem;
  transition: var(--tc-transition);
}
.tc-testimonial-card:hover {
  box-shadow: var(--tc-shadow);
  border-color: var(--tc-primary);
}
.tc-testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .85rem; }
.tc-testimonial-text {
  font-size: .95rem;
  color: var(--tc-text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.tc-testimonial-author { display: flex; align-items: center; gap: .85rem; }
.tc-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tc-primary), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tc-white);
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.tc-testimonial-name { font-weight: 700; font-size: .95rem; }
.tc-testimonial-exam { font-size: .82rem; color: var(--tc-muted); }

/* ============================================================
   CTA BAND
   ============================================================ */
.tc-cta-band {
  background: linear-gradient(135deg, var(--tc-primary) 0%, #7c3aed 100%);
  padding: 60px 0;
  text-align: center;
}
.tc-cta-band h2 {
  color: var(--tc-white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: .85rem;
}
.tc-cta-band p {
  color: #bfdbfe;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.tc-footer {
  background: var(--tc-dark);
  color: #9ca3af;
  padding-top: 64px;
}
.tc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.tc-footer-brand .tc-logo-text { font-size: 1.5rem; }
.tc-footer-brand p {
  font-size: .9rem;
  margin-top: .85rem;
  line-height: 1.75;
  color: #6b7280;
}
.tc-footer-social {
  display: flex;
  gap: .65rem;
  margin-top: 1.25rem;
}
.tc-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--tc-radius-sm);
  background: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: var(--tc-transition);
  font-size: .95rem;
}
.tc-footer-social a:hover { background: var(--tc-primary); color: var(--tc-white); }

.tc-footer-col h4 {
  color: var(--tc-white);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.tc-footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.tc-footer-col ul a {
  font-size: .88rem;
  color: #6b7280;
  transition: var(--tc-transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.tc-footer-col ul a:hover { color: var(--tc-primary); padding-left: 4px; }

.tc-footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
}
.tc-footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.tc-footer-bottom-links a {
  color: #6b7280;
  font-size: .85rem;
}
.tc-footer-bottom-links a:hover { color: var(--tc-primary); }

/* ============================================================
   BLOG / ARCHIVE
   ============================================================ */
.tc-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.tc-post-card {
  background: var(--tc-white);
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  overflow: hidden;
  transition: var(--tc-transition);
}
.tc-post-card:hover { box-shadow: var(--tc-shadow-lg); transform: translateY(-4px); border-color: var(--tc-primary); }
.tc-post-thumb { overflow: hidden; height: 200px; background: var(--tc-bg); }
.tc-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tc-post-card:hover .tc-post-thumb img { transform: scale(1.05); }
.tc-post-body { padding: 1.5rem; }
.tc-post-category {
  display: inline-block;
  background: var(--tc-primary-light);
  color: var(--tc-primary);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: var(--tc-radius-full);
  margin-bottom: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tc-post-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.tc-post-title a { color: var(--tc-dark); }
.tc-post-title a:hover { color: var(--tc-primary); }
.tc-post-excerpt { font-size: .9rem; color: var(--tc-muted); margin-bottom: 1.25rem; }
.tc-post-meta { display: flex; align-items: center; gap: 1rem; font-size: .82rem; color: var(--tc-muted); flex-wrap: wrap; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.tc-article-header { padding: 60px 0 40px; background: var(--tc-bg); border-bottom: 1px solid var(--tc-border); }
.tc-breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--tc-muted); margin-bottom: 1.25rem; flex-wrap: wrap; }
.tc-breadcrumb a { color: var(--tc-muted); }
.tc-breadcrumb a:hover { color: var(--tc-primary); }
.tc-breadcrumb-sep { color: var(--tc-border); }

.tc-article-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
.tc-article-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; font-size: .9rem; color: var(--tc-muted); }

.tc-article-content { max-width: 800px; margin: 0 auto; padding: 3rem 0; }
.tc-article-content h2 { font-size: 1.65rem; margin: 2.5rem 0 1rem; }
.tc-article-content h3 { font-size: 1.3rem; margin: 2rem 0 .85rem; }
.tc-article-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; color: var(--tc-text); }
.tc-article-content ul, .tc-article-content ol { margin: 1.5rem 0 1.5rem 1.5rem; }
.tc-article-content li { margin-bottom: .5rem; font-size: 1.05rem; line-height: 1.8; }
.tc-article-content ul li { list-style: disc; }
.tc-article-content ol li { list-style: decimal; }
.tc-article-content blockquote {
  border-left: 4px solid var(--tc-primary);
  background: var(--tc-primary-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--tc-radius) var(--tc-radius) 0;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.05rem;
}
.tc-article-content code {
  background: #f1f5f9;
  padding: .2em .5em;
  border-radius: 4px;
  font-family: 'Fira Code', monospace;
  font-size: .9em;
}
.tc-article-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--tc-radius);
  overflow-x: auto;
  margin: 2rem 0;
}
.tc-article-content img { border-radius: var(--tc-radius); margin: 1.5rem 0; box-shadow: var(--tc-shadow); }
.tc-article-content table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.tc-article-content th, .tc-article-content td {
  padding: .75rem 1rem;
  border: 1px solid var(--tc-border);
  text-align: left;
  font-size: .95rem;
}
.tc-article-content th { background: var(--tc-primary); color: var(--tc-white); font-weight: 600; }
.tc-article-content tr:nth-child(even) { background: var(--tc-bg); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.tc-two-col { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.tc-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.tc-widget {
  background: var(--tc-white);
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  padding: 1.5rem;
}
.tc-widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tc-dark);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--tc-primary);
}
.tc-widget-search { display: flex; gap: .5rem; }
.tc-widget-search input {
  flex: 1;
  padding: .65rem .9rem;
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius-full);
  font-size: .9rem;
  outline: none;
  transition: var(--tc-transition);
}
.tc-widget-search input:focus { border-color: var(--tc-primary); }
.tc-widget-search button {
  padding: .65rem .9rem;
  background: var(--tc-primary);
  color: var(--tc-white);
  border: none;
  border-radius: var(--tc-radius-full);
  cursor: pointer;
  transition: var(--tc-transition);
}
.tc-widget-search button:hover { background: var(--tc-primary-dark); }
.tc-widget ul { display: flex; flex-direction: column; gap: .6rem; }
.tc-widget ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--tc-text);
  padding: .5rem;
  border-radius: var(--tc-radius-sm);
  transition: var(--tc-transition);
}
.tc-widget ul a:hover { background: var(--tc-primary-light); color: var(--tc-primary); padding-left: .85rem; }
.tc-widget-count {
  background: var(--tc-bg);
  color: var(--tc-muted);
  font-size: .75rem;
  padding: .15rem .45rem;
  border-radius: var(--tc-radius-full);
  font-weight: 600;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.tc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.tc-pagination a, .tc-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--tc-radius);
  font-size: .9rem;
  font-weight: 600;
  border: 1.5px solid var(--tc-border);
  background: var(--tc-white);
  color: var(--tc-text);
  transition: var(--tc-transition);
}
.tc-pagination a:hover, .tc-pagination .current {
  background: var(--tc-primary);
  border-color: var(--tc-primary);
  color: var(--tc-white);
}

/* ============================================================
   NOTICE / ALERT
   ============================================================ */
.tc-notice {
  padding: 1rem 1.25rem;
  border-radius: var(--tc-radius);
  border-left: 4px solid;
  font-size: .95rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.tc-notice-info { background: #eff6ff; border-color: var(--tc-primary); color: #1e40af; }
.tc-notice-success { background: #f0fdf4; border-color: var(--tc-success); color: #166534; }
.tc-notice-warning { background: #fffbeb; border-color: var(--tc-warning); color: #92400e; }

/* ============================================================
   COMMENTS
   ============================================================ */
.tc-comments { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--tc-border); }
.tc-comments h3 { font-size: 1.3rem; margin-bottom: 1.75rem; }
.tc-comment {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--tc-border);
}
.tc-comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tc-primary-light);
  flex-shrink: 0;
  overflow: hidden;
}
.tc-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tc-comment-meta { font-size: .82rem; color: var(--tc-muted); margin-bottom: .5rem; }
.tc-comment-text { font-size: .95rem; }
.tc-comment-reply {
  font-size: .82rem;
  color: var(--tc-primary);
  cursor: pointer;
  margin-top: .5rem;
  font-weight: 600;
}

/* Comment form */
.tc-comment-form { margin-top: 2.5rem; }
.tc-comment-form h3 { font-size: 1.15rem; margin-bottom: 1.5rem; }
.tc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.tc-form-field { display: flex; flex-direction: column; gap: .5rem; }
.tc-form-field label { font-size: .9rem; font-weight: 600; color: var(--tc-dark); }
.tc-form-field input, .tc-form-field textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius);
  font-size: .95rem;
  outline: none;
  transition: var(--tc-transition);
  font-family: inherit;
  background: var(--tc-bg);
}
.tc-form-field input:focus, .tc-form-field textarea:focus {
  border-color: var(--tc-primary);
  background: var(--tc-white);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}
.tc-form-field textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   404 PAGE
   ============================================================ */
.tc-404 { text-align: center; padding: 100px 0; }
.tc-404-num {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--tc-primary), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.tc-404 h2 { font-size: 1.75rem; margin-bottom: .85rem; }
.tc-404 p { color: var(--tc-muted); margin-bottom: 2.5rem; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.tc-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--tc-primary);
  color: var(--tc-white);
  border: none;
  border-radius: var(--tc-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--tc-shadow-lg);
  transition: var(--tc-transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  font-size: 1.1rem;
}
.tc-scroll-top.visible { opacity: 1; visibility: visible; }
.tc-scroll-top:hover { background: var(--tc-primary-dark); transform: translateY(-3px); }

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.tc-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.4s infinite;
  border-radius: var(--tc-radius-sm);
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tc-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .tc-two-col { grid-template-columns: 1fr; }
  .tc-sidebar { display: none; }
}

@media (max-width: 900px) {
  /* Switch to hamburger on tablets and below */
  .tc-nav { display: none !important; }
  .tc-hamburger { display: flex !important; }
  .tc-mobile-nav.open { display: block !important; }
  .tc-mobile-nav a {
    display: block;
    padding: .7rem .5rem;
    border-bottom: 1px solid var(--tc-border);
    font-weight: 500;
    color: var(--tc-text);
  }
  .tc-mobile-nav a:last-child { border-bottom: none; }
  .tc-mobile-nav ul { list-style: none; }
  .tc-mobile-nav li { display: block; }
  .tc-header-cta .btn { display: none; }
}

@media (max-width: 768px) {
  .section-padding { padding: 56px 0; }
  .tc-topbar { display: none; }
  .tc-hero { padding: 60px 0 80px; }
  .tc-how-steps::before { display: none; }
  .tc-footer-grid { grid-template-columns: 1fr; }
  .tc-form-grid { grid-template-columns: 1fr; }
  .tc-pricing { padding: 60px 0; }
  .tc-price-card { padding: 2rem 1.5rem; }
  .tc-exams-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

@media (max-width: 480px) {
  .tc-hero h1 { font-size: 1.75rem; }
  .tc-hero-search { padding: 1.25rem; }
  .tc-search-row { flex-direction: column; }
  .tc-hero-stats { gap: 1.25rem; }
  .tc-exams-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   HIDE CTA BAND ON DASHBOARD & EXAM PAGES
   ============================================================ */
.page-id-dashboard .tc-cta-band,
.post-type-archive-exam .tc-cta-band,
.single-exam .tc-cta-band,
body.page-template-elementor-full-width .tc-cta-band,
/* Hide for any logged-in dashboard/account page */
.page-slug-dashboard .tc-cta-band,
.page-slug-login .tc-cta-band,
.page-slug-register .tc-cta-band,
.page-slug-my-account .tc-cta-band { display: none !important; }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .tc-topbar, .tc-header, .tc-footer, .tc-scroll-top,
  .tc-cta-band { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .tc-article-content { max-width: 100%; }
}

/* ============================================================
   ACCESSIBILITY FOCUS STYLES
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--tc-primary);
  outline-offset: 2px;
  border-radius: var(--tc-radius-sm);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* WordPress Alignment Classes */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; text-align: center; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--tc-muted); text-align: center; margin-top: .5rem; }

/* ============================================================
   ELEMENTOR — widget container resets (scoped, no UI impact)
   These rules only fire when TC widgets are placed in Elementor.
   ============================================================ */
.elementor-widget-tc_hero     > .elementor-widget-container,
.elementor-widget-tc_exams    > .elementor-widget-container,
.elementor-widget-tc_how      > .elementor-widget-container,
.elementor-widget-tc_features > .elementor-widget-container,
.elementor-widget-tc_testimonials > .elementor-widget-container,
.elementor-widget-tc_pricing  > .elementor-widget-container,
.elementor-widget-tc_posts    > .elementor-widget-container,
.elementor-widget-tc_cta_band > .elementor-widget-container,
.elementor-widget-tc_social_share > .elementor-widget-container { padding: 0; }

/* ============================================================
   USER CHIP & DROPDOWN (logged-in header)
   ============================================================ */
.tc-user-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .7rem .3rem .3rem;
  border-radius: var(--tc-radius-full);
  border: 1.5px solid var(--tc-border);
  background: var(--tc-white);
  cursor: pointer;
  user-select: none;
  transition: var(--tc-transition);
  flex-shrink: 0;
}
.tc-user-chip:hover {
  border-color: var(--tc-primary);
  box-shadow: 0 2px 10px rgba(26,86,219,.12);
}
.tc-user-chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.tc-user-chip-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--tc-text);
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-user-chip-caret {
  font-size: .65rem;
  color: var(--tc-text-light);
  transition: transform .2s ease;
}
.tc-user-chip.open .tc-user-chip-caret {
  transform: rotate(180deg);
}

/* Dropdown panel */
.tc-user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: var(--tc-white);
  border-radius: var(--tc-radius);
  box-shadow: var(--tc-shadow-lg);
  border: 1px solid var(--tc-border);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 1100;
}
.tc-user-chip.open .tc-user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown header */
.tc-user-dropdown-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .6rem .6rem;
}
.tc-user-dropdown-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.tc-user-dropdown-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--tc-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.tc-user-dropdown-email {
  font-size: .75rem;
  color: var(--tc-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.tc-user-dropdown-divider {
  height: 1px;
  background: var(--tc-border);
  margin: .3rem 0;
}
.tc-user-dropdown-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .75rem;
  border-radius: var(--tc-radius-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--tc-text);
  transition: var(--tc-transition);
}
.tc-user-dropdown-link i { width: 14px; text-align: center; color: var(--tc-text-light); }
.tc-user-dropdown-link:hover {
  background: var(--tc-primary-light);
  color: var(--tc-primary);
}
.tc-user-dropdown-link:hover i { color: var(--tc-primary); }
.tc-user-dropdown-link--logout:hover {
  background: #fff1f1;
  color: #dc2626;
}
.tc-user-dropdown-link--logout:hover i { color: #dc2626; }

/* Mobile: hide chip caret on very small screens */
@media (max-width: 480px) {
  .tc-user-chip-name { display: none; }
  .tc-user-chip-caret { display: none; }
  .tc-user-chip { padding: .25rem; }
}

/* ============================================================
   EXAM SINGLE PAGE — full-width, no extra padding
   ============================================================ */
#tc-exam-single {
  width: 100%;
}

/* ============================================================
   MOBILE COMPACT OVERRIDES — affects ≤768 px only
   Desktop styles are 100 % untouched above this block.
   ============================================================ */

/* ---------- shared mobile tokens ---------- */
@media (max-width: 768px) {
  :root {
    --tc-container: 100%;
  }

  /* ---------- base typography ---------- */
  html { font-size: 17.5px; }

  h1, h2, h3, h4, h5, h6 { line-height: 1.3; }

  .section-title {
    font-size: clamp(1.9531rem, 7.8125vw, 2.5rem);
    margin-bottom: 0.45rem;
  }
  .section-subtitle {
    font-size: 1.0938rem;
    margin-bottom: 1.3125rem;
  }
  .section-label { font-size: 0.9rem; margin-bottom: 0.375rem; }

  /* ---------- layout helpers ---------- */
  .container { padding: 0 0.6562rem; }
  .section-padding { padding: 27px 0; }

  /* ---------- header ---------- */
  .tc-header-inner { height: 37.5px; gap: 0.5625rem; }
  .tc-logo img { height: 21px; }
  .tc-logo-text { font-size: 1.3125rem; }

  /* ---------- hero ---------- */
  .tc-hero { padding: 21px 0 27px; }
  .tc-hero h1 { font-size: clamp(2.1875rem, 9.375vw, 3.125rem); margin-bottom: 0.3rem; }
  .tc-hero-subtitle { font-size: 1.025rem; margin-bottom: 0.675rem; }
  .tc-hero-badge { font-size: 0.561rem; padding: 0.1485rem 0.37125rem; margin-bottom: 0.198rem; }
  .tc-hero-search { padding: 0.5625rem 0.75rem; border-radius: 14px; }
  .tc-hero-search h2 { font-size: 0.975rem; margin-bottom: 0.2625rem; }
  .tc-search-input { font-size: 1.0625rem; padding: 0.375rem 0.6375rem; }
  .tc-search-btn { font-size: 1.0625rem; padding: 0.375rem 0.825rem; }
  .tc-hero-tabs { gap: 0.3rem; margin-top: 0.3rem; }
  .tc-hero-tab { font-size: 0.9rem; padding: 0.225rem 0.5625rem; }
  .tc-hero-stats { gap: 0.75rem; margin-top: 0.675rem; }
  .tc-hero-stat-num { font-size: 1.4375rem; }
  .tc-hero-stat-label { font-size: 0.8125rem; }

  /* ---------- exam category cards ---------- */
  .tc-exams { padding: 27px 0; }
  .tc-exams-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 0.45rem; }
  .tc-exam-card { padding: 0.6375rem 0.4125rem; gap: 0.375rem; border-radius: 10px; }
  .tc-exam-icon { width: 31.5px; height: 31.5px; font-size: 1.375rem; }
  .tc-exam-name { font-size: 0.9rem; }
  .tc-cat-tab { font-size: 0.975rem; padding: 0.3375rem 0.75rem; }
  .tc-exams-cta { margin-top: 1.125rem; }

  /* ---------- category filter tabs on mobile — horizontal scroll ---------- */
  .tc-cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.225rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.3rem;
    margin-bottom: 1.125rem;
  }
  .tc-cat-tabs::-webkit-scrollbar { display: none; }
  .tc-cat-tab { flex-shrink: 0; }

  /* ---------- how it works ---------- */
  .tc-how { padding: 27px 0; }
  .tc-how-steps { gap: 0.75rem; margin-top: 1.3125rem; }
  .tc-step { padding: 0.9375rem 0.75rem; }
  .tc-step-num { width: 30px; height: 30px; font-size: 1.1875rem; margin-bottom: 0.6375rem; }
  .tc-step h3 { font-size: 1.1875rem; margin-bottom: 0.3rem; }
  .tc-step p { font-size: 1rem; }

  /* ---------- features ---------- */
  .tc-features { padding: 27px 0; }

  /* ---------- buttons ---------- */
  .btn { padding: 0.45rem 1.0125rem; font-size: 1.0938rem; }
  .btn-lg { padding: 0.5625rem 1.3125rem; font-size: 1.1875rem; }
  .btn-sm { padding: 0.3rem 0.675rem; font-size: 0.975rem; }

  /* ---------- post / blog cards ---------- */
  .tc-posts { padding: 27px 0; }
  .tc-post-meta { font-size: 0.9rem; }
  .tc-post-title { font-size: 1.1875rem; }
  .tc-post-excerpt { font-size: 1rem; }

  /* ---------- article page ---------- */
  .tc-article-content { padding: 0 0.6562rem; }
  .tc-article-title { font-size: 1.625rem; }
  .tc-article-meta { font-size: 0.9375rem; gap: 0.45rem; }

  /* ---------- pricing ---------- */
  .tc-pricing { padding: 27px 0; }
  .tc-price-card { padding: 1.125rem 0.9375rem; }
  .tc-price-amount { font-size: 2.8125rem; }
  .tc-price-name { font-size: 1.1875rem; }
  .tc-price-feature { font-size: 1.025rem; padding: 0.3rem 0; }

  /* ---------- testimonials ---------- */
  .tc-testimonials { padding: 27px 0; }
  .tc-testimonial-text { font-size: 1.0625rem; }
  .tc-testimonial-name { font-size: 1.1rem; }

  /* ---------- CTA band ---------- */
  .tc-cta-band { padding: 27px 0; }
  .tc-cta-band h2 { font-size: 1.6875rem; }
  .tc-cta-band p { font-size: 1.0625rem; }

  /* ---------- footer ---------- */
  .tc-footer { padding: 27px 0 15px; }
  .tc-footer-brand p { font-size: 1rem; }
  .tc-footer-col-title { font-size: 1rem; }
  .tc-footer-links a { font-size: 1rem; padding: 0.15rem 0; }
  .tc-footer-bottom { padding-top: 0.675rem; font-size: 0.9rem; }

  /* ---------- breadcrumb ---------- */
  .tc-breadcrumb { font-size: 0.9rem; padding: 0.4125rem 0; }

  /* ---------- badges ---------- */
  .badge { font-size: 0.9rem; padding: 0.1875rem 0.4875rem; }

  /* ---------- scroll-to-top ---------- */
  .tc-scroll-top { width: 28.5px; height: 28.5px; bottom: 0.9375rem; right: 0.9375rem; font-size: 1.1875rem; }

  /* ---------- user chip ---------- */
  .tc-user-dropdown { min-width: 150px; }
  .tc-user-dropdown-name { font-size: 1.025rem; }
  .tc-user-dropdown-email { font-size: 0.85rem; }
  .tc-user-dropdown-link { font-size: 1rem; padding: 0.315rem 0.4875rem; }

  /* ---------- 404 ---------- */
  .tc-404 { padding: 36px 0; }
  .tc-404 h1 { font-size: 6.25rem; }
  .tc-404 h2 { font-size: 1.6875rem; }
}

/* ≤480 px — extra compact */
@media (max-width: 480px) {
  html { font-size: 16.25px; }

  .tc-hero h1 { font-size: 1.6875rem; }
  .tc-exams-grid { grid-template-columns: repeat(3, 1fr); gap: 0.375rem; }
  .tc-exam-card { padding: 0.525rem 0.3rem; gap: 0.3rem; }
  .tc-exam-icon { width: 27px; height: 27px; font-size: 1.25rem; }
  .tc-exam-name { font-size: 0.85rem; }

  .section-title { font-size: 1.5rem; }

  /* single-column search */
  .tc-search-row { flex-direction: column; gap: 0.375rem; }
  .tc-search-btn { width: 100%; }

  /* hero stats wrap to 2-col on tiny screens */
  .tc-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5625rem 0.375rem; }
}

/* ============================================================
   MOBILE BOTTOM TAB BAR
   Visible only on ≤900px. Fixed at bottom, always on top.
   ============================================================ */

.tc-bottom-nav {
    display: none; /* hidden by default (desktop) */
}

@media (max-width: 900px) {

    /* ---- Bar container ---- */
    .tc-bottom-nav {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.10);
        height: 60px;
        padding-bottom: env(safe-area-inset-bottom, 0px); /* iPhone notch */
    }

    /* ---- Push page content above the bar ---- */
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    /* ---- Individual tab ---- */
    .tc-bnav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: #6b7280;
        font-size: 0.6rem;
        font-weight: 600;
        font-family: var(--tc-font-sans, 'Inter', sans-serif);
        letter-spacing: 0.01em;
        padding: 6px 2px 4px;
        transition: color 0.18s ease, background 0.18s ease;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }

    .tc-bnav-item:hover,
    .tc-bnav-item:focus-visible {
        color: var(--tc-primary, #1a56db);
        background: rgba(26, 86, 219, 0.04);
    }

    /* ---- Active state ---- */
    .tc-bnav-item--active {
        color: var(--tc-primary, #1a56db);
    }

    /* Active indicator dot above icon */
    .tc-bnav-item--active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 28px;
        height: 3px;
        border-radius: 0 0 3px 3px;
        background: var(--tc-primary, #1a56db);
    }

    /* ---- Icon wrapper ---- */
    .tc-bnav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        transition: background 0.18s ease, transform 0.18s ease;
    }

    .tc-bnav-icon svg {
        width: 20px;
        height: 20px;
        display: block;
        flex-shrink: 0;
    }

    .tc-bnav-item--active .tc-bnav-icon {
        background: rgba(26, 86, 219, 0.10);
        transform: translateY(-1px);
    }

    /* ---- Label ---- */
    .tc-bnav-label {
        display: block;
        max-width: 62px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        line-height: 1.2;
    }

    /* ---- Avatar (logged-in account tab) ---- */
    .tc-bnav-avatar-wrap {
        border-radius: 50% !important;
        width: 28px !important;
        height: 28px !important;
        overflow: hidden;
        padding: 0 !important;
        background: var(--tc-primary-light, #e8f0fe);
        flex-shrink: 0;
        position: relative;
    }
    .tc-bnav-avatar {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        border: 2px solid var(--tc-primary, #1a56db);
    }
    /* Initial letter shown when avatar fails to load */
    .tc-bnav-initial {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--tc-primary, #1a56db), #7c3aed);
        color: #fff;
        font-size: 0.7rem;
        font-weight: 800;
        font-family: var(--tc-font-heading, 'Poppins', sans-serif);
        line-height: 1;
        letter-spacing: 0;
        flex-shrink: 0;
    }
    /* Active state: blue ring around avatar */
    .tc-bnav-item--active .tc-bnav-avatar {
        border-color: var(--tc-primary, #1a56db);
        box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.25);
    }
    .tc-bnav-item--active .tc-bnav-avatar-wrap {
        transform: translateY(-1px);
    }

    /* ---- Raise scroll-to-top button above the bar ---- */
    .tc-scroll-top {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* ≤480px — slightly slimmer bar */
@media (max-width: 480px) {
    .tc-bottom-nav {
        height: 56px;
    }
    body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
    .tc-bnav-icon svg {
        width: 18px;
        height: 18px;
    }
    .tc-bnav-label {
        font-size: 0.56rem;
    }
    .tc-bnav-item--active::before {
        width: 22px;
    }
}

/* ============================================================
   CONTACT PAGE — FULL STYLES
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────── */
.tc-contact-hero {
  position: relative;
  background: linear-gradient(135deg, #0f2d73 0%, #1a56db 45%, #7c3aed 100%);
  padding: 80px 0 0;
  overflow: hidden;
  color: #fff;
}

.tc-contact-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.tc-ch-blob {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
  filter: blur(60px);
}
.tc-ch-blob--1 { width: 500px; height: 500px; background: #7c3aed; top: -150px; left: -100px; }
.tc-ch-blob--2 { width: 400px; height: 400px; background: #06b6d4; top: 0; right: -100px; }
.tc-ch-blob--3 { width: 300px; height: 300px; background: #f59e0b; bottom: 0; left: 40%; }

.tc-contact-hero-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}

.tc-contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  padding: .4rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.95);
  letter-spacing: .03em;
  margin-bottom: 1.5rem;
}
.tc-contact-hero-badge i { color: #fcd34d; }

.tc-contact-hero-title {
  font-family: var(--tc-font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.tc-contact-hero-accent {
  display: block;
  background: linear-gradient(90deg, #fcd34d, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tc-contact-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.tc-contact-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  padding: .65rem 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.tc-ch-stat {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  padding: 0 1.25rem;
}
.tc-ch-stat i { color: #fcd34d; font-size: .78rem; }
.tc-ch-divider { width: 1px; height: 20px; background: rgba(255,255,255,.25); }

.tc-contact-hero-wave {
  position: relative;
  z-index: 2;
  margin-bottom: -2px;
  line-height: 0;
}
.tc-contact-hero-wave svg { width: 100%; display: block; }

/* ── Info Cards ─────────────────────────────────────────── */
.tc-contact-info-row {
  background: var(--tc-bg);
  padding: 0 0 48px;
}

.tc-contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: -28px;
}

.tc-ci-card {
  background: var(--tc-white);
  border-radius: var(--tc-radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  box-shadow: var(--tc-shadow);
  border: 1px solid var(--tc-border);
  transition: var(--tc-transition);
  position: relative;
  overflow: hidden;
}
.tc-ci-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0 0 var(--tc-radius-lg) var(--tc-radius-lg);
}
.tc-ci-card--blue::before  { background: var(--tc-primary); }
.tc-ci-card--green::before { background: var(--tc-success); }
.tc-ci-card--orange::before{ background: var(--tc-accent); }
.tc-ci-card--purple::before{ background: #7c3aed; }

.tc-ci-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow-lg); }

.tc-ci-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
}
.tc-ci-card--blue   .tc-ci-icon { background: var(--tc-primary-light); color: var(--tc-primary); }
.tc-ci-card--green  .tc-ci-icon { background: #d1fae5; color: var(--tc-success); }
.tc-ci-card--orange .tc-ci-icon { background: #fff3ee; color: var(--tc-accent); }
.tc-ci-card--purple .tc-ci-icon { background: #f3e8ff; color: #7c3aed; }

.tc-ci-body h3 {
  font-size: .95rem; font-weight: 700; color: var(--tc-dark); margin-bottom: .2rem;
}
.tc-ci-body p { font-size: .8rem; color: var(--tc-muted); margin-bottom: .45rem; }
.tc-ci-body a,
.tc-ci-body span {
  font-size: .88rem; font-weight: 600; color: var(--tc-primary);
  word-break: break-all;
}
.tc-ci-card--green  .tc-ci-body a { color: var(--tc-success); }
.tc-ci-card--orange .tc-ci-body a,
.tc-ci-card--orange .tc-ci-body span { color: var(--tc-accent); }
.tc-ci-card--purple .tc-ci-body a { color: #7c3aed; }

/* ── Main grid ──────────────────────────────────────────── */
.tc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2.5rem;
  align-items: flex-start;
}

/* ── Form wrap ──────────────────────────────────────────── */
.tc-contact-form-wrap {
  background: var(--tc-white);
  border-radius: var(--tc-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--tc-shadow-lg);
  border: 1px solid var(--tc-border);
}

.tc-contact-form-head { margin-bottom: 1.5rem; }

.tc-section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--tc-primary-light);
  color: var(--tc-primary);
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .85rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}

.tc-contact-form-head h2 {
  font-size: 1.6rem; font-weight: 800; color: var(--tc-dark); margin-bottom: .45rem;
}
.tc-contact-form-head p { font-size: .9rem; color: var(--tc-muted); margin: 0; }

/* Subject pills */
.tc-cf-subject-pills {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.25rem;
}
.tc-cf-pill {
  display: inline-flex; align-items: center; gap: .38rem;
  padding: .38rem .9rem;
  border: 1.5px solid var(--tc-border);
  background: var(--tc-bg);
  border-radius: 99px;
  font-size: .8rem; font-weight: 600; color: var(--tc-muted);
  cursor: pointer;
  transition: var(--tc-transition);
}
.tc-cf-pill i { font-size: .74rem; }
.tc-cf-pill:hover { border-color: var(--tc-primary); color: var(--tc-primary); background: var(--tc-primary-light); }
.tc-cf-pill.active { border-color: var(--tc-primary); background: var(--tc-primary); color: #fff; }

/* Alerts */
.tc-cf-alert {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--tc-radius);
  margin-bottom: 1.25rem;
  animation: tcFadeIn .3s ease;
}
@keyframes tcFadeIn { from { opacity:0; transform: translateY(-6px); } to { opacity:1; transform: none; } }
.tc-cf-alert i { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.tc-cf-alert div strong { display: block; font-size: .92rem; font-weight: 700; margin-bottom: .2rem; }
.tc-cf-alert div p { font-size: .85rem; margin: 0; }
.tc-cf-alert--success { background: #d1fae5; border-left: 4px solid var(--tc-success); color: #065f46; }
.tc-cf-alert--success i { color: var(--tc-success); }
.tc-cf-alert--error { background: #fee2e2; border-left: 4px solid var(--tc-danger); color: #991b1b; }
.tc-cf-alert--error i { color: var(--tc-danger); }

/* Form fields */
.tc-cf { display: flex; flex-direction: column; gap: 1.1rem; }

.tc-cf-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
}

.tc-cf-field { display: flex; flex-direction: column; gap: .35rem; }

.tc-cf-field label {
  font-size: .85rem; font-weight: 700; color: var(--tc-dark);
  display: flex; align-items: center; gap: .35rem;
}
.tc-cf-field label i { color: var(--tc-primary); font-size: .78rem; }
.tc-cf-required { color: var(--tc-danger); margin-left: auto; font-weight: 700; }
.tc-cf-optional { color: var(--tc-muted); font-size: .76rem; font-weight: 500; margin-left: auto; }
.tc-cf-char-count {
  color: var(--tc-muted); font-size: .74rem; font-weight: 500; margin-left: auto;
}
.tc-cf-char--warn { color: var(--tc-danger) !important; }

.tc-cf-field input,
.tc-cf-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--tc-border);
  border-radius: var(--tc-radius);
  font-size: .95rem; color: var(--tc-dark);
  background: var(--tc-white);
  transition: var(--tc-transition);
  font-family: var(--tc-font-sans);
  box-sizing: border-box;
  resize: vertical;
}
.tc-cf-field input:focus,
.tc-cf-field textarea:focus {
  border-color: var(--tc-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}
.tc-cf-field input.tc-cf-field-error,
.tc-cf-field textarea.tc-cf-field-error {
  border-color: var(--tc-danger);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
.tc-cf-err-msg {
  font-size: .78rem; color: var(--tc-danger); font-weight: 500; min-height: .95rem;
}
.tc-cf-field textarea { line-height: 1.6; min-height: 130px; }

/* Honeypot */
.tc-cf-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Form footer */
.tc-cf-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: .5rem;
}
.tc-cf-privacy {
  font-size: .78rem; color: var(--tc-muted);
  display: flex; align-items: center; gap: .35rem; margin: 0;
  flex: 1; min-width: 200px;
}
.tc-cf-privacy i { color: var(--tc-success); }

.tc-cf-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--tc-primary);
  color: #fff;
  border: none; border-radius: var(--tc-radius-full);
  font-size: 1rem; font-weight: 700;
  padding: .85rem 2.25rem;
  cursor: pointer;
  transition: var(--tc-transition);
  font-family: var(--tc-font-sans);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(26,86,219,.28);
}
.tc-cf-submit:hover:not(:disabled) {
  background: var(--tc-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,86,219,.36);
}
.tc-cf-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* ── Right side ─────────────────────────────────────────── */
.tc-contact-side { display: flex; flex-direction: column; gap: 1.5rem; }

/* Map */
.tc-contact-map-wrap {
  background: var(--tc-white);
  border-radius: var(--tc-radius-lg);
  overflow: hidden;
  box-shadow: var(--tc-shadow);
  border: 1px solid var(--tc-border);
}
.tc-contact-map-label {
  display: flex; align-items: center; gap: .45rem;
  padding: .9rem 1.25rem;
  font-size: .85rem; font-weight: 700; color: var(--tc-dark);
  border-bottom: 1px solid var(--tc-border);
}
.tc-contact-map-label i { color: var(--tc-danger); }
.tc-contact-map { padding: 0; }
.tc-contact-map iframe { border-radius: 0; }

/* Hours */
.tc-contact-hours {
  background: var(--tc-white);
  border-radius: var(--tc-radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--tc-shadow-sm);
  border: 1px solid var(--tc-border);
}
.tc-contact-hours h4 {
  font-size: .92rem; font-weight: 800; color: var(--tc-dark);
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: .85rem;
}
.tc-contact-hours h4 i { color: var(--tc-primary); }
.tc-contact-hours ul { display: flex; flex-direction: column; gap: .55rem; }
.tc-contact-hours li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem;
}
.tc-ch-day { color: var(--tc-text); font-weight: 500; }
.tc-ch-time { font-weight: 700; font-size: .82rem; padding: .18rem .65rem; border-radius: 99px; }
.tc-ch-time--open { background: #d1fae5; color: #065f46; }
.tc-ch-time--closed { background: #fee2e2; color: #991b1b; }
.tc-ch-timezone {
  margin-top: .85rem;
  font-size: .75rem; color: var(--tc-muted);
  display: flex; align-items: center; gap: .35rem;
  border-top: 1px solid var(--tc-border); padding-top: .75rem;
}

/* Social */
.tc-contact-social {
  background: var(--tc-white);
  border-radius: var(--tc-radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--tc-shadow-sm);
  border: 1px solid var(--tc-border);
}
.tc-contact-social h4 {
  font-size: .92rem; font-weight: 800; color: var(--tc-dark); margin-bottom: 1rem;
}
.tc-contact-social-row { display: flex; gap: .65rem; flex-wrap: wrap; }

.tc-cs-link {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--tc-transition);
  text-decoration: none;
}
.tc-cs-fb { background: #e8f0fe; color: #1877f2; }
.tc-cs-tw { background: #f0f0f0; color: #111; }
.tc-cs-ig { background: #fff0f5; color: #e4405f; }
.tc-cs-yt { background: #fff0f0; color: #ff0000; }
.tc-cs-tg { background: #e8f6fd; color: #0088cc; }
.tc-cs-link:hover { transform: translateY(-3px) scale(1.08); box-shadow: var(--tc-shadow); }

/* FAQ */
.tc-contact-faq {
  background: var(--tc-white);
  border-radius: var(--tc-radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--tc-shadow-sm);
  border: 1px solid var(--tc-border);
}
.tc-contact-faq h4 {
  font-size: .92rem; font-weight: 800; color: var(--tc-dark);
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: 1rem;
}
.tc-contact-faq h4 i { color: var(--tc-warning); }

.tc-faq-list { display: flex; flex-direction: column; gap: .35rem; }

.tc-faq-item { border-radius: var(--tc-radius); border: 1px solid var(--tc-border); overflow: hidden; }

.tc-faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem;
  padding: .85rem 1rem;
  background: none; border: none;
  font-size: .84rem; font-weight: 600; color: var(--tc-dark);
  cursor: pointer; text-align: left;
  transition: var(--tc-transition);
  font-family: var(--tc-font-sans);
}
.tc-faq-q i { font-size: .72rem; color: var(--tc-muted); transition: transform .25s; flex-shrink: 0; }
.tc-faq-q:hover { background: var(--tc-bg); }
.tc-faq-item.open .tc-faq-q { background: var(--tc-primary-light); color: var(--tc-primary); }
.tc-faq-item.open .tc-faq-q i { transform: rotate(180deg); color: var(--tc-primary); }

.tc-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 1rem;
}
.tc-faq-item.open .tc-faq-a {
  max-height: 200px; padding: 0 1rem .85rem;
}
.tc-faq-a p {
  font-size: .82rem; color: var(--tc-muted); margin: 0; line-height: 1.6;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tc-contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-contact-grid { grid-template-columns: 1fr; }
  .tc-contact-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .tc-contact-map-wrap { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .tc-contact-hero { padding-top: 60px; }
  .tc-contact-hero-title { font-size: 1.9rem; }
  .tc-contact-hero-stats { display: none; }
  .tc-contact-info-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: -16px; }
  .tc-ci-card { padding: 1.25rem 1rem; }
  .tc-ci-icon { width: 42px; height: 42px; font-size: 1.1rem; }
  .tc-contact-form-wrap { padding: 1.5rem 1.25rem; }
  .tc-cf-row { grid-template-columns: 1fr; }
  .tc-cf-footer { flex-direction: column; align-items: stretch; }
  .tc-cf-submit { width: 100%; justify-content: center; }
  .tc-contact-side { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .tc-contact-info-grid { grid-template-columns: 1fr; }
  .tc-contact-hero-title { font-size: 1.6rem; }
  .tc-cf-subject-pills { gap: .35rem; }
  .tc-cf-pill { font-size: .75rem; padding: .3rem .7rem; }
}

/* Hide CTA band on contact page */
.page-slug-contact-us .tc-cta-band,
.page-id-contact-us .tc-cta-band { display: none !important; }

/* ── Customizer preview hint bar ── */
.tc-contact-customizer-bar {
  position: fixed;
  bottom: 60px; left: 50%; transform: translateX(-50%);
  background: #1a56db; color: #fff;
  padding: .6rem 1.5rem;
  border-radius: 99px;
  font-size: .82rem; font-weight: 600;
  z-index: 9999;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: 0 4px 20px rgba(26,86,219,.4);
  pointer-events: none;
  white-space: nowrap;
}
