/*
Theme Name:  Pengangkutan Tek Hong Child
Theme URI:   https://tekhong.com
Description: Understrap Child Theme for Pengangkutan Tek Hong Sdn Bhd
Author:      Tek Hong Web Team
Author URI:  https://tekhong.com
Template:    understrap
Version:     2.0.1
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tekhong-child
Tags:        logistics, transport, cargo
*/

/* =====================================================
   IMPORT GOOGLE FONTS
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600;700&display=swap');

/* =====================================================
   CSS VARIABLES – BRAND SYSTEM
   ===================================================== */
:root {
  --th-navy:        #0a1628;
  --th-navy2:       #132240;
  --th-blue:        #1a4080;
  --th-orange:      #f07b00;
  --th-orange2:     #ff9a1f;
  --th-white:       #ffffff;
  --th-off:         #f4f6f9;
  --th-gray:        #6b7a8d;
  --th-light:       #dce3ed;
  --th-text:        #1c2b3a;
  --th-radius:      8px;
  --th-shadow:      0 4px 24px rgba(0,0,0,0.09);
  --th-shadow-lg:   0 12px 48px rgba(0,0,0,0.14);
  --th-transition:  all 0.28s ease;
}

/* =====================================================
   BASE TYPOGRAPHY OVERRIDES
   ===================================================== */
body {
  font-family: 'Barlow', sans-serif !important;
  color: var(--th-text);
  font-size: 1rem;
  line-height: 1.75;
  background: var(--th-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: var(--th-navy);
}

p { color: var(--th-gray); line-height: 1.8; }
a { transition: var(--th-transition); }

/* =====================================================
   TOP ANNOUNCEMENT BAR
   ===================================================== */
.th-announcement-bar {
  background: var(--th-orange);
  color: white;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  width: 100%;
  z-index: 9999;
}

/* =====================================================
   NAVBAR OVERRIDES
   ===================================================== */
#wrapper-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

#main-nav.navbar {
  background: var(--th-navy) !important;
  padding: 0 20px;
  min-height: 70px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.th-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--th-orange);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.th-logo-text strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.th-logo-text span {
  display: block;
  font-size: 0.68rem;
  color: var(--th-orange2);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#main-menu .nav-link {
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 14px !important;
  border-radius: 5px;
  transition: var(--th-transition);
}

#main-menu .nav-link:hover,
#main-menu .current-menu-item .nav-link,
#main-menu .active .nav-link {
  color: white !important;
  background: rgba(255,255,255,0.1);
}

/* =====================================================
   MOBILE TOGGLER — FIX FOR VISIBILITY
   ===================================================== */
/* Target specifically within our nav ID to beat Bootstrap priority */
nav#main-nav .navbar-toggler.th-toggler {
	/* 1. Remove the default Bootstrap "Ghost" icon */
    background-image: none !important; 
    
    /* 2. Reset default borders and backgrounds */
    border: none !important;
    background: transparent !important;
    
    /* 3. Layout for your custom 3 spans */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 32px !important;  
    height: 32px !important;
    outline: none !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure the bars are actually visible white lines */
nav#main-nav .th-toggler-bar {
    display: block !important;
    width: 26px !important;
    height: 2px !important;
    background-color: #ffffff !important; /* Force White */
    border-radius: 2px !important;
    transition: all 0.28s ease-in-out !important;
}

/* Animated X state when the menu is OPEN */
nav#main-nav .navbar-toggler:not(.collapsed) .th-toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
}

nav#main-nav .navbar-toggler:not(.collapsed) .th-toggler-bar:nth-child(2) {
    opacity: 0 !important !important;
}

nav#main-nav .navbar-toggler:not(.collapsed) .th-toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
}

/* Ensure the X animation works when our JS toggles the state */
.navbar-toggler[aria-expanded="true"] .th-toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .th-toggler-bar:nth-child(2) {
    opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .th-toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   ROUTE STRIP
   ===================================================== */
.th-route-strip {
  background: var(--th-navy2);
  color: white;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  flex-wrap: wrap;
}

.th-route-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--th-orange);
  white-space: nowrap;
  flex-shrink: 0;
}

.th-route-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.th-route-stops {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.th-route-stop {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
}

.th-route-stop.hq {
  color: var(--th-orange2);
  font-weight: 700;
}

.th-route-arrow {
  color: var(--th-orange);
  margin: 0 7px;
  font-size: 0.85rem;
}

/* =====================================================
   SECTION HELPERS
   ===================================================== */
.th-section { padding: 80px 0; }
.th-section-sm { padding: 56px 0; }
.th-bg-off  { background: var(--th-off); }
.th-bg-navy { background: var(--th-navy); }
.th-bg-white { background: var(--th-white); }

.th-section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--th-orange);
  margin-bottom: 10px;
}

.th-section-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--th-navy);
  margin-bottom: 14px;
}

.th-section-title.light { color: white; }

.th-section-body {
  color: var(--th-gray);
  font-size: 1rem;
  line-height: 1.78;
  max-width: 580px;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.th-btn,
.wp-block-button__link {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 6px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--th-transition);
  border: none;
  cursor: pointer;
}

.th-btn-primary,
.wp-block-button.is-style-fill .wp-block-button__link {
  background: var(--th-orange) !important;
  color: white !important;
  box-shadow: 0 4px 18px rgba(240,123,0,0.32);
}

.th-btn-primary:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: var(--th-orange2) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,123,0,0.4);
  color: white !important;
}

.th-btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.th-btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
  color: white;
}

.th-btn-white {
  background: white;
  color: var(--th-orange);
}

.th-btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  color: var(--th-orange);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.th-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--th-navy);
}

.th-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10,22,40,0.96) 40%, rgba(10,22,40,0.55) 100%),
    url('https://tekhong.com/wp-content/uploads/2021/02/20210215_114553-scaled.jpg') center/cover no-repeat;
}

.th-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.th-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.th-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,123,0,0.14);
  border: 1px solid rgba(240,123,0,0.35);
  color: var(--th-orange2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.th-hero-tag::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--th-orange);
  border-radius: 50%;
  display: block;
}

.th-hero h1 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.95;
  color: white;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.th-hero h1 .highlight {
  color: var(--th-orange);
  display: block;
}

.th-hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.62);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 300;
}

.th-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero stats bar */
.th-hero-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  z-index: 3;
}

.th-hero-stat {
  flex: 1;
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.th-hero-stat:last-child { border-right: none; }

.th-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--th-orange);
  line-height: 1;
  display: block;
}

.th-stat-label {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.th-page-hero {
  background: var(--th-navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.th-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.th-page-hero h1 {
  color: white;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.th-page-hero p {
  color: rgba(255,255,255,0.58);
  font-size: 1rem;
  position: relative;
  z-index: 1;
  max-width: 540px;
}

.th-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.th-breadcrumb a { color: var(--th-orange2); text-decoration: none; }
.th-breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* =====================================================
   SERVICE CARDS
   ===================================================== */
.th-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) { .th-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .th-service-grid { grid-template-columns: 1fr; } }

.th-service-card {
  background: white;
  border-radius: var(--th-radius);
  padding: 34px 26px;
  border: 1px solid var(--th-light);
  transition: var(--th-transition);
  position: relative;
  overflow: hidden;
}

.th-service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--th-orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.th-service-card:hover {
  box-shadow: var(--th-shadow-lg);
  transform: translateY(-5px);
}

.th-service-card:hover::before { transform: scaleX(1); }

.th-svc-icon {
  width: 52px; height: 52px;
  background: rgba(240,123,0,0.1);
  border-radius: var(--th-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.th-svc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--th-navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.th-svc-desc {
  font-size: 0.9rem;
  color: var(--th-gray);
  line-height: 1.72;
}

/* =====================================================
   FLEET TABLE
   ===================================================== */
.th-fleet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  box-shadow: var(--th-shadow);
  border-radius: var(--th-radius);
  overflow: hidden;
}

.th-fleet-table thead th {
  background: var(--th-navy);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.th-fleet-table tbody tr {
  border-bottom: 1px solid var(--th-light);
  transition: background 0.18s;
}

.th-fleet-table tbody tr:last-child { border-bottom: none; }
.th-fleet-table tbody tr:hover { background: var(--th-off); }

.th-fleet-table tbody td {
  padding: 13px 18px;
  color: var(--th-text);
}

.th-fleet-table tbody td:first-child {
  font-weight: 700;
  color: var(--th-orange);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
}

.th-fleet-badge {
  display: inline-block;
  background: var(--th-off);
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--th-navy);
}

/* =====================================================
   INDUSTRY CARDS
   ===================================================== */
.th-industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) { .th-industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .th-industry-grid { grid-template-columns: 1fr; } }

.th-industry-card {
  background: white;
  border-radius: var(--th-radius);
  padding: 32px 22px;
  text-align: center;
  border: 1px solid var(--th-light);
  transition: var(--th-transition);
  position: relative;
  overflow: hidden;
}

.th-industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--th-orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.th-industry-card:hover {
  box-shadow: var(--th-shadow-lg);
  transform: translateY(-5px);
}

.th-industry-card:hover::before { transform: scaleX(1); }

.th-industry-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.th-industry-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--th-navy);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.th-industry-desc {
  font-size: 0.87rem;
  color: var(--th-gray);
  line-height: 1.7;
}

/* =====================================================
   WHY US / NUMBERED POINTS
   ===================================================== */
.th-why-points { display: grid; gap: 22px; }

.th-why-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.th-why-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--th-orange);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}

.th-why-point-title {
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 4px;
}

.th-why-point-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.68;
}

/* Trust/cert panel */
.th-cert-panel {
  background: var(--th-navy2);
  border-radius: var(--th-radius);
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.th-cert-panel h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: white;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.th-cert-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.045);
  border-radius: 7px;
  padding: 14px 16px;
}

.th-cert-icon { font-size: 1.7rem; flex-shrink: 0; }
.th-cert-title { font-weight: 600; font-size: 0.9rem; color: white; }
.th-cert-sub { font-size: 0.76rem; color: rgba(255,255,255,0.44); margin-top: 2px; }

/* =====================================================
   HOW IT WORKS STEPS
   ===================================================== */
.th-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

@media (max-width: 767px) { .th-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 480px) { .th-steps { grid-template-columns: 1fr; } }

.th-steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--th-orange) 0%, var(--th-light) 100%);
  z-index: 0;
}

@media (max-width: 767px) { .th-steps::before { display: none; } }

.th-step {
  text-align: center;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

.th-step-num {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--th-navy);
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 4px solid var(--th-off);
  transition: var(--th-transition);
}

.th-step:first-child .th-step-num,
.th-step:hover .th-step-num {
  background: var(--th-orange);
}

.th-step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--th-navy);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.th-step-desc {
  font-size: 0.85rem;
  color: var(--th-gray);
  line-height: 1.65;
}

/* =====================================================
   ABOUT PAGE SPECIFIC
   ===================================================== */
.th-about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 767px) { .th-about-intro { grid-template-columns: 1fr; gap: 36px; } }

.th-about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 575px) { .th-about-values { grid-template-columns: 1fr; } }

.th-value-item {
  background: var(--th-off);
  border-radius: 7px;
  padding: 18px 20px;
  border-left: 4px solid var(--th-orange);
}

.th-value-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--th-navy);
  margin-bottom: 4px;
}

.th-value-desc {
  font-size: 0.83rem;
  color: var(--th-gray);
  line-height: 1.65;
}

/* Stats counter section */
.th-stats-section {
  background: var(--th-navy);
  padding: 64px 0;
}

.th-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

@media (max-width: 575px) { .th-stats-grid { grid-template-columns: 1fr; } }

.th-stat-block {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.th-stat-block:last-child { border-right: none; }

.th-stat-block .th-stat-num {
  font-size: 3.2rem;
  display: block;
  color: var(--th-orange);
}

.th-stat-block .th-stat-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

/* Mission block */
.th-mission-block {
  background: var(--th-navy2);
  border-radius: var(--th-radius);
  padding: 40px;
  border-left: 5px solid var(--th-orange);
  position: relative;
  overflow: hidden;
}

.th-mission-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 24px;
  font-size: 10rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  color: rgba(240,123,0,0.07);
  line-height: 1;
}

.th-mission-block p {
  color: rgba(255,255,255,0.75);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.th-cta-section {
  background: linear-gradient(135deg, var(--th-orange) 0%, #d96400 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.th-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

.th-cta-section .container { position: relative; z-index: 1; }

.th-cta-section h2 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: white;
  margin-bottom: 14px;
}

.th-cta-section p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 34px;
}

/* WhatsApp floating button */
.th-whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.42);
  transition: var(--th-transition);
  text-decoration: none;
}

.th-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.th-whatsapp-float svg {
  width: 28px; height: 28px;
  fill: white;
}

/* Pulse ring */
.th-whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: th-pulse 2s ease-out infinite;
}

@keyframes th-pulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* =====================================================
   FOOTER
   ===================================================== */
#wrapper-footer {
  background: var(--th-navy);
}

#wrapper-footer .site-footer {
  padding: 56px 0 0;
}

.th-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 767px) { .th-footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.th-footer-tagline {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 280px;
  margin-top: 14px;
}

.th-footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

.th-footer-contact a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.87rem;
  display: flex;
  gap: 8px;
  align-items: center;
  transition: var(--th-transition);
}

.th-footer-contact a:hover { color: var(--th-orange); }

.th-footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
}

.th-footer-links { display: flex; flex-direction: column; gap: 10px; }

.th-footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.87rem;
  transition: var(--th-transition);
}

.th-footer-links a:hover {
  color: var(--th-orange);
  padding-left: 6px;
}

.th-footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.th-footer-bottom p,
.th-footer-bottom small {
  color: rgba(255,255,255,0.35);
  font-size: 0.77rem;
  margin: 0;
}

/* =====================================================
   MAIN CONTENT AREA CLEANUP
   ===================================================== */
#main-content { padding-bottom: 0; }
.entry-content > *:last-child { margin-bottom: 0; }

/* Remove default WordPress margins for full-width sections */
.full-width-page-wrapper .entry-content .alignfull,
.full-width-page-wrapper .entry-content .alignwide {
  margin-left: 0;
  margin-right: 0;
}

/* WordPress block table overrides */
.wp-block-table table {
  border: none;
}
.wp-block-table thead {
  background: var(--th-navy);
  border-bottom: none;
}
.wp-block-table thead th {
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 14px 18px;
  border: none;
}
.wp-block-table tbody td {
  padding: 12px 18px;
  border: 1px solid var(--th-light);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
  .th-section { padding: 60px 0; }
  .th-hero { min-height: 70vh; }
  .th-hero-stats { position: relative; }
  .th-about-intro { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .th-section { padding: 48px 0; }
  .th-hero h1 { font-size: 3rem; }
  .th-hero-stats { flex-wrap: wrap; }
  .th-hero-stat { flex: 0 0 50%; }
  .th-route-strip { padding: 14px 20px; }
  .th-footer-bottom { flex-direction: column; text-align: center; }
}

/* Safety check to ensure toggler is visible on mobile */
@media (max-width: 767px) {
    .navbar-toggler.th-toggler {
        display: flex !important; /* Force layout */
        border: none !important;
        background: transparent !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .th-toggler-bar {
        background-color: #ffffff !important; /* Force white color */
        display: block !important;
    }
}