/* ============================================================
   style.css – TrackToRunway Brand Stylesheet
   ============================================================ */

/* ── Google Font Import ── */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700&display=swap");

/* ── Bootstrap Icons Font ── */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* ── CSS Custom Properties (Brand Palette) ── */
:root {
  --ttw-navy:        #0a1628;
  --ttw-blue:        #1a3a6b;
  --ttw-mid-blue:    #1e5fad;
  --ttw-sky:         #2d9cdb;
  --ttw-accent:      #f4a024;
  --ttw-accent-dark: #d4881a;
  --ttw-light:       #f0f5ff;
  --ttw-white:       #ffffff;
  --ttw-gray:        #6c757d;
  --ttw-dark-footer: #0d1b2e;
  --ttw-card-shadow: 0 6px 30px rgba(10, 22, 40, 0.12);
  --ttw-hover-shadow:0 12px 40px rgba(10, 22, 40, 0.22);
  --transition:      0.3s ease;
  --radius:          12px;
}

/* ── Base Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--ttw-navy);
  background-color: var(--ttw-white);
  overflow-x: hidden;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNavbar {
  background: linear-gradient(135deg, var(--ttw-navy) 0%, var(--ttw-blue) 100%);
  padding: 0.85rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  z-index: 1050;
}

.navbar-brand {
  text-decoration: none;
}

.brand-icon {
  font-size: 1.6rem;
  color: var(--ttw-accent);
  transform: rotate(-30deg);
  display: inline-block;
}

.brand-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ttw-white);
  letter-spacing: -0.5px;
}

.brand-accent {
  color: var(--ttw-accent);
}

#mainNavbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
  color: var(--ttw-white) !important;
  background: rgba(255, 255, 255, 0.12);
}

#mainNavbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--ttw-accent);
  border-radius: 2px;
}

/* Call Now Button */
.btn-call-now {
  background: linear-gradient(135deg, var(--ttw-accent) 0%, var(--ttw-accent-dark) 100%);
  color: var(--ttw-navy) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(244, 160, 36, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-call-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 160, 36, 0.55);
  color: var(--ttw-navy) !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Dropdown Menu – dark navbar theme */
#mainNavbar .dropdown-menu {
  background: var(--ttw-navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.5rem;
  margin-top: 0.6rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
  min-width: 180px;
  z-index: 2000;
}

#mainNavbar .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

#mainNavbar .dropdown-item:hover,
#mainNavbar .dropdown-item:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

#mainNavbar .dropdown-toggle::after {
  border-top-color: rgba(255, 255, 255, 0.7);
  vertical-align: 0.2em;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      160deg,
      rgba(10, 22, 40, 0.85) 0%,
      rgba(26, 58, 107, 0.78) 50%,
      rgba(30, 95, 173, 0.65) 100%
    ),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1800&auto=format&fit=crop&q=80")
      center center / cover no-repeat;
  padding: 6rem 0 5rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(45, 156, 219, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tagline {
  display: inline-block;
  background: rgba(244, 160, 36, 0.18);
  border: 1px solid rgba(244, 160, 36, 0.5);
  color: var(--ttw-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--ttw-white);
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  color: var(--ttw-accent);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Search Form Card */
.search-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.search-card .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ttw-blue);
  margin-bottom: 0.3rem;
}

.search-card .form-control,
.search-card .form-select {
  border: 1.5px solid #d1dcf0;
  border-radius: 8px;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  color: var(--ttw-navy);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-card .form-control:focus,
.search-card .form-select:focus {
  border-color: var(--ttw-mid-blue);
  box-shadow: 0 0 0 3px rgba(30, 95, 173, 0.15);
  outline: none;
}

.btn-search {
  background: linear-gradient(135deg, var(--ttw-mid-blue), var(--ttw-sky));
  color: var(--ttw-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  width: 100%;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(30, 95, 173, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 95, 173, 0.45);
  color: var(--ttw-white);
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ttw-mid-blue);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--ttw-navy);
  line-height: 1.25;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--ttw-mid-blue), var(--ttw-sky));
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(135deg, var(--ttw-navy), var(--ttw-blue));
  padding: 2rem 0;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ttw-accent);
  margin-bottom: 0.15rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   ROUTE CARDS
   ============================================================ */
.section-routes {
  background: var(--ttw-light);
  padding: 5rem 0;
}

.route-card {
  background: var(--ttw-white);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ttw-card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.route-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ttw-hover-shadow);
}

.route-card-img-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
}

.route-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.route-card:hover .route-card-img-wrap img {
  transform: scale(1.07);
}

.route-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ttw-accent);
  color: var(--ttw-navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.route-card .card-body {
  padding: 1.4rem;
}

.route-from-to {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ttw-navy);
  margin-bottom: 0.4rem;
}

.route-arrow {
  color: var(--ttw-sky);
  font-size: 1.2rem;
}

.route-detail {
  font-size: 0.82rem;
  color: var(--ttw-gray);
  margin-bottom: 1rem;
}

.route-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ttw-mid-blue);
}

.route-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ttw-gray);
}

.btn-inquiry {
  background: transparent;
  border: 2px solid var(--ttw-mid-blue);
  color: var(--ttw-mid-blue);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-inquiry:hover {
  background: var(--ttw-mid-blue);
  color: var(--ttw-white);
  transform: translateY(-1px);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  position: relative;
  padding: 5.5rem 0;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(30, 95, 173, 0.82) 100%),
    url("https://images.unsplash.com/photo-1474302770737-173ee21bab63?w=1600&auto=format&fit=crop&q=80")
      center center / cover no-repeat;
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.02) 40px,
    rgba(255, 255, 255, 0.02) 80px
  );
}

.cta-section .section-title {
  color: var(--ttw-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--ttw-accent), var(--ttw-accent-dark));
  color: var(--ttw-navy);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 6px 25px rgba(244, 160, 36, 0.45);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(244, 160, 36, 0.6);
  color: var(--ttw-navy);
}

.cta-trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-trust-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.cta-trust-badges .badge-item svg {
  color: var(--ttw-accent);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(30, 95, 173, 0.75) 100%),
    url("https://images.unsplash.com/photo-1556388158-158ea5ccacbd?w=1600&auto=format&fit=crop&q=80")
      center center / cover no-repeat;
  padding: 7rem 0 5rem;
  text-align: center;
}

.about-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--ttw-white);
  font-weight: 700;
}

.about-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-intro {
  padding: 5rem 0;
}

.about-intro-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3a4a5c;
}

.about-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ttw-hover-shadow);
}

.about-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Why Choose Us Cards */
.why-section {
  background: var(--ttw-light);
  padding: 5rem 0;
}

.why-card {
  background: var(--ttw-white);
  border: none;
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--ttw-card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ttw-hover-shadow);
}

.why-icon-wrap {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--ttw-light), #d8e8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
  color: var(--ttw-mid-blue);
}

.why-card h5 {
  font-weight: 700;
  color: var(--ttw-navy);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--ttw-gray);
  line-height: 1.7;
  margin: 0;
}

/* Team Section */
.team-section {
  padding: 5rem 0;
}

.team-card {
  background: var(--ttw-white);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ttw-card-shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ttw-hover-shadow);
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.team-card .card-body {
  padding: 1.25rem;
}

.team-card h5 {
  font-weight: 700;
  color: var(--ttw-navy);
  margin-bottom: 0.25rem;
}

.team-card small {
  color: var(--ttw-mid-blue);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background:
    linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(30, 95, 173, 0.78) 100%),
    url("https://images.unsplash.com/photo-1529070538774-1843cb3265df?w=1600&auto=format&fit=crop&q=80")
      center center / cover no-repeat;
  padding: 7rem 0 5rem;
  text-align: center;
}

.contact-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--ttw-white);
  font-weight: 700;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.contact-section {
  padding: 5rem 0;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--ttw-navy), var(--ttw-blue));
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  height: 100%;
  color: var(--ttw-white);
}

.contact-info-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--ttw-white);
  margin-bottom: 0.5rem;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--ttw-accent);
}

.contact-detail-item h6 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.2rem;
}

.contact-detail-item p,
.contact-detail-item a {
  font-size: 0.95rem;
  color: var(--ttw-white);
  margin: 0;
  text-decoration: none;
  transition: color var(--transition);
}

.contact-detail-item a:hover {
  color: var(--ttw-accent);
}

/* Contact Form */
.contact-form-card {
  background: var(--ttw-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--ttw-card-shadow);
  height: 100%;
}

.contact-form-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--ttw-navy);
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  color: var(--ttw-gray);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.contact-form-card .form-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--ttw-blue);
  margin-bottom: 0.35rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1.5px solid #d1dcf0;
  border-radius: 8px;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  color: var(--ttw-navy);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--ttw-mid-blue);
  box-shadow: 0 0 0 3px rgba(30, 95, 173, 0.15);
  outline: none;
}

.btn-submit {
  background: linear-gradient(135deg, var(--ttw-mid-blue), var(--ttw-sky));
  color: var(--ttw-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(30, 95, 173, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 95, 173, 0.45);
  color: var(--ttw-white);
}

/* Map Embed Placeholder */
.map-placeholder {
  background: linear-gradient(135deg, var(--ttw-light), #dce8ff);
  border-radius: var(--radius);
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  color: var(--ttw-blue);
  border: 2px dashed #b8ccee;
}

.map-placeholder svg {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--ttw-mid-blue);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background: var(--ttw-dark-footer);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ttw-white);
  letter-spacing: 0.5px;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(244, 160, 36, 0.35);
  display: inline-block;
}

.footer-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links li a::before {
  content: "›";
  color: var(--ttw-accent);
  font-size: 1rem;
  line-height: 1;
}

.footer-links li a:hover {
  color: var(--ttw-accent);
  padding-left: 4px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-contact li svg {
  color: var(--ttw-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact li a:hover {
  color: var(--ttw-accent);
}

.social-links a.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-links a.social-icon:hover {
  background: var(--ttw-accent);
  color: var(--ttw-navy);
  transform: translateY(-2px);
}

.social-links a.social-icon i {
  font-size: 1.05rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-copy {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom-link:hover {
  color: var(--ttw-accent);
}

/* ============================================================
   PAGE HERO (Generic)
   ============================================================ */
.page-hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-accent {
  color: var(--ttw-accent) !important;
}

.text-sky {
  color: var(--ttw-sky) !important;
}

.bg-ttw-light {
  background-color: var(--ttw-light) !important;
}

/* Scroll Fade-In (optional enhancement) */
.fade-in {
  animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   FLOATING MOBILE CALL BUTTON
   ============================================================ */
.mobile-fab {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1200;
  background: linear-gradient(135deg, var(--ttw-accent), var(--ttw-accent-dark));
  color: var(--ttw-navy);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 6px 28px rgba(244, 160, 36, 0.55);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.mobile-fab:hover {
  transform: scale(1.08);
  color: var(--ttw-navy);
  box-shadow: 0 10px 36px rgba(244, 160, 36, 0.65);
}

@keyframes fab-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(244, 160, 36, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(244, 160, 36, 0);    }
  100% { box-shadow: 0 0 0 0   rgba(244, 160, 36, 0);     }
}

/* ============================================================
   RESPONSIVE – TABLET  (≤991px)
   ============================================================ */
@media (max-width: 991.98px) {

  /* Floating call button – show on tablet + mobile */
  .mobile-fab { display: flex; animation: fab-pulse 2.4s ease infinite; }

  /* Navbar */
  #mainNavbar .btn-call-now {
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
  }
  #mainNavbar .nav-link.active::after { display: none; }
  #navbarMain { padding: 0.5rem 0 0.75rem; }
  #mainNavbar .navbar-nav { gap: 0.15rem; }

  /* Hero */
  .hero-section {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }

  /* Search card */
  .search-card { padding: 1.5rem 1.35rem; }

  /* About */
  .about-intro { padding: 3.5rem 0; }
  .about-image-wrap img { height: 320px; }

  /* Contact */
  .contact-hero  { padding: 5.5rem 0 4rem; }
  .contact-section { padding: 3.5rem 0; }
}

/* ============================================================
   RESPONSIVE – MEDIUM  (≤767px)
   ============================================================ */
@media (max-width: 767.98px) {

  /* Section shared */
  .section-title  { font-size: clamp(1.55rem, 4.5vw, 2rem); }
  .section-routes { padding: 3.5rem 0; }
  .why-section    { padding: 3.5rem 0; }

  /* Stats */
  .stat-item h3 { font-size: 1.7rem; }

  /* Hero */
  .hero-section { padding: 4rem 0 3rem; }
  .hero-subtitle { font-size: 1rem; }

  /* CTA section */
  .cta-section { padding: 3.5rem 0; }
  .cta-trust-badges { gap: 1rem; }
  .cta-trust-badges .badge-item { font-size: 0.8rem; }

  /* Cards */
  .why-card { padding: 1.75rem 1.25rem; }
  .route-card-img-wrap { height: 175px; }

  /* About */
  .about-intro { padding: 3rem 0; }
  .about-hero  { padding: 5.5rem 0 4rem; }
  .about-image-wrap img { height: 260px; }

  /* Contact */
  .contact-hero { padding: 4.5rem 0 3rem; }
  .contact-info-card,
  .contact-form-card { padding: 1.75rem 1.25rem; }
  .contact-section { padding: 3rem 0; }
  .map-placeholder { height: 200px; }
}

/* ============================================================
   RESPONSIVE – MOBILE  (≤575px)
   ============================================================ */
@media (max-width: 575.98px) {

  /* ── Navbar ── */
  .brand-text { font-size: 1.25rem; }
  .brand-icon { font-size: 1.35rem; }

  /* ── Hero ── */
  .hero-section { padding: 3.5rem 0 2.5rem; }

  .hero-tagline {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.85rem;
  }

  .hero-title { font-size: clamp(1.75rem, 7vw, 2.2rem); line-height: 1.25; }
  .hero-subtitle { font-size: 0.95rem; }

  /* Hero CTA button – full width on phone */
  .hero-section .btn-cta-primary {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.85rem 1.25rem;
  }

  /* ── Search card ── */
  .search-card {
    padding: 1.25rem 1rem;
    border-radius: 10px;
  }
  .search-card .form-control,
  .search-card .form-select { font-size: 0.9rem; }

  /* ── Stats strip ── */
  .stat-item h3 { font-size: 1.5rem; }
  .stat-item p  { font-size: 0.77rem; letter-spacing: 0.5px; }

  /* ── Route cards ── */
  .section-routes { padding: 3rem 0; }
  .route-card-img-wrap { height: 160px; }
  .route-card .card-body { padding: 1.1rem; }

  /* ── Why cards ── */
  .why-section { padding: 3rem 0; }
  .why-card {
    padding: 1.5rem 1rem;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
  }
  .why-icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    margin: 0;
    font-size: 1.4rem;
  }
  .why-card h5  { font-size: 1rem; margin-bottom: 0.35rem; }
  .why-card p   { font-size: 0.88rem; }

  /* ── CTA section ── */
  .cta-section { padding: 3rem 0; }
  .btn-cta-primary {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    width: 100%;
    justify-content: center;
  }
  .cta-section .d-flex.flex-wrap { flex-direction: column; align-items: stretch; }
  .cta-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  /* ── About page ── */
  .about-hero { padding: 5rem 0 3.5rem; }
  .about-hero h1 { font-size: 2rem; }
  .about-intro { padding: 2.5rem 0; }
  .about-image-wrap img { height: 220px; }
  .about-intro-text p { font-size: 0.97rem; }

  /* ── Contact page ── */
  .contact-hero { padding: 4rem 0 2.5rem; }
  .contact-hero h1 { font-size: 1.9rem; }
  .contact-info-card,
  .contact-form-card { padding: 1.5rem 1rem; }
  .contact-section { padding: 2.5rem 0; }
  .map-placeholder { height: 170px; }
  .btn-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* ── Footer ── */
  .footer-main { padding-top: 3rem; }
  .footer-heading { font-size: 0.95rem; }
  .footer-copy { font-size: 0.78rem; }

  /* Bottom bar: stack on mobile */
  .footer-main .row.align-items-center > div {
    text-align: center !important;
  }

  /* ── Trains / Cars / Support / Policies page heroes ── */
  .support-banner,
  .legal-banner { padding: 3.5rem 0 2.5rem; }

  .trains-hero,
  .cars-hero { padding: 3.5rem 0 2.5rem !important; }

  /* ── Contact quick strip – stack on mobile ── */
  .stats-strip .row.justify-content-center {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .stats-strip .col-auto[style*="border-left"] {
    border-left: none !important;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,.15);
  }

  /* ── Inline section paddings from page templates ── */
  section[style*="padding:5rem"],
  section[style*="padding: 5rem"] {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}
