/* =============================================================================
   Tel Now BD — Main Stylesheet (aggregator)
   ============================================================================= */

@import url('tokens.css');
@import url('base.css');
@import url('components.css');
@import url('layout.css');
@import url('components-extra.css');
@import url('forms.css');
@import url('hero.css');
@import url('nav-mobile.css');
@import url('cards.css');

/* Prevent horizontal scroll from wide children / AOS transforms */
.tn-hero--video,
.tn-section,
.tn-footer,
.tn-cta-band {
  overflow-x: clip;
  max-width: 100%;
}

/* ─── Redesign Enhancements ─────────────────────────────────────────────────── */

/* Brand lockup — logo mark + name */
.tn-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.tn-brand-lockup__mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.tn-brand-lockup__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
  white-space: nowrap;
}

.tn-brand-lockup__accent {
  color: var(--clr-orange);
}

.tn-navbar.scrolled .tn-brand-lockup__name,
.tn-navbar.always-solid .tn-brand-lockup__name {
  color: var(--clr-navy);
}

.tn-brand-lockup--footer {
  margin-bottom: var(--sp-4);
}

.tn-brand-lockup--footer .tn-brand-lockup__name {
  color: var(--clr-white);
}

/* Animated GIF icons */
.tn-gif-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-4);
}

.tn-gif-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tn-gif-icon--trust {
  width: 64px;
  height: 64px;
}

.tn-gif-icon--service {
  width: 72px;
  height: 72px;
  margin-bottom: var(--sp-5);
}

/* Hero mobile visual */
.tn-hero__mobile-visual {
  display: block;
  margin-top: var(--sp-8);
  position: relative;
  z-index: 2;
}

.tn-hero__mobile-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.tn-hero__mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.tn-hero__mini-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  text-align: center;
}

.tn-hero__mini-card i {
  color: var(--clr-orange-lt);
  font-size: 1.125rem;
  margin-bottom: var(--sp-1);
  display: block;
}

.tn-hero__mini-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.3;
}

.tn-hero__mini-card span {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Fuel pills scroll on mobile */
.tn-hero__fuel-strip {
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--sp-1);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tn-hero__fuel-strip::-webkit-scrollbar {
  display: none;
}

.tn-hero__fuel-strip .tn-fuel-pill {
  flex-shrink: 0;
}

/* Process promises (replaces unverified stats) */
.tn-process-promises {
  background: linear-gradient(135deg, var(--clr-navy) 0%, #0a3d6e 100%);
}

.tn-promise-item {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
}

.tn-promise-item__icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 122, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}

.tn-promise-item__icon i {
  font-size: 1.375rem;
  color: var(--clr-orange-lt);
}

.tn-promise-item h4 {
  font-size: var(--fz-base);
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-2);
}

.tn-promise-item p {
  font-size: var(--fz-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* CTA button on orange band */
.tn-btn-cta-light {
  background: var(--clr-white) !important;
  color: var(--clr-orange) !important;
  border-color: var(--clr-white) !important;
}

.tn-btn-cta-light:hover {
  background: var(--clr-soft-bg) !important;
  color: var(--clr-orange-dk) !important;
}

/* Safety band utilities */
.tn-safety-band .container--relative {
  position: relative;
  z-index: 2;
}

.tn-safety-band__heading {
  color: var(--clr-white);
}

.tn-safety-band__heading--single {
  white-space: nowrap;
  line-height: 1.15;
}

@media (max-width: 479.98px) {
  .tn-safety-band__heading--single {
    white-space: normal;
    font-size: clamp(1.375rem, 7vw, 1.75rem);
  }
}

/* Certifications — Padma, DNCC, e-CAB */
.tn-section--compact {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.tn-certifications {
  margin-top: var(--sp-6);
}

.tn-certifications__title {
  font-family: var(--font-head);
  font-size: var(--fz-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}

.tn-certifications--dark .tn-certifications__title {
  color: rgba(255, 255, 255, 0.65);
}

.tn-certifications--light .tn-certifications__title {
  color: var(--clr-muted);
}

.tn-certifications__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.tn-certifications--align-center .tn-certifications__list {
  justify-content: center;
}

.tn-certifications--align-start .tn-certifications__list {
  justify-content: flex-start;
}

.tn-certification-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  min-width: 108px;
  flex: 0 1 auto;
  text-align: center;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.tn-certifications--dark .tn-certification-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.tn-certifications--light .tn-certification-badge {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}

.tn-certification-badge:hover {
  transform: translateY(-2px);
}

.tn-certifications--light .tn-certification-badge:hover {
  box-shadow: var(--shadow-card);
}

.tn-certification-badge img {
  height: 52px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.tn-certification-badge span {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 120px;
}

.tn-certifications--dark .tn-certification-badge span {
  color: rgba(255, 255, 255, 0.8);
}

.tn-certifications--light .tn-certification-badge span {
  color: var(--clr-muted);
}

.tn-certifications__note {
  margin-top: var(--sp-5);
  font-size: var(--fz-sm);
  color: var(--clr-muted);
  line-height: 1.65;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Interactive timeline (services) */
.tn-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.tn-timeline__item {
  display: flex;
  gap: var(--sp-6);
  padding-bottom: var(--sp-8);
  position: relative;
  cursor: pointer;
}

.tn-timeline__item:last-child {
  padding-bottom: 0;
}

.tn-timeline__item::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--clr-border);
}

.tn-timeline__item:last-child::before {
  display: none;
}

.tn-timeline__marker {
  width: 48px;
  height: 48px;
  background: var(--clr-soft-bg);
  border: 2px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--clr-muted);
  transition: all var(--trans-base);
  z-index: 1;
}

.tn-timeline__item.is-active .tn-timeline__marker,
.tn-timeline__item:hover .tn-timeline__marker {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.3);
}

.tn-timeline__content {
  flex: 1;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-6);
  transition: box-shadow var(--trans-base), border-color var(--trans-base);
}

.tn-timeline__item.is-active .tn-timeline__content,
.tn-timeline__item:hover .tn-timeline__content {
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 122, 0, 0.3);
}

.tn-timeline__content h4 {
  font-size: var(--fz-base);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.tn-timeline__content p {
  font-size: var(--fz-sm);
  color: var(--clr-muted);
  margin: 0;
  line-height: 1.65;
}

/* Coverage cards enhanced */
.tn-coverage-card {
  cursor: default;
  height: 100%;
}

.tn-coverage-card.is-highlight {
  border-color: var(--clr-orange);
  background: rgba(255, 122, 0, 0.04);
}

.tn-coverage-card.is-highlight i {
  color: var(--clr-orange);
}

/* Values row */
.tn-values-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-4);
}

.tn-value-pill {
  text-align: center;
  padding: var(--sp-5) var(--sp-4);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--trans-base), transform var(--trans-base);
}

.tn-value-pill:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.tn-value-pill i {
  font-size: 1.5rem;
  color: var(--clr-orange);
  margin-bottom: var(--sp-3);
  display: block;
}

.tn-value-pill h5 {
  font-size: var(--fz-sm);
  font-weight: 600;
  color: var(--clr-dark);
  margin: 0;
}

/* Customer checklist */
.tn-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tn-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: var(--fz-sm);
  color: var(--clr-muted);
  line-height: 1.6;
}

.tn-checklist li:last-child {
  border-bottom: none;
}

.tn-checklist li i {
  color: var(--clr-orange);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Map placeholder */
.tn-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--clr-soft-bg);
  color: var(--clr-muted);
  gap: var(--sp-3);
}

.tn-map-placeholder i {
  font-size: 2.5rem;
  color: var(--clr-primary);
  opacity: 0.5;
}

/* Touch targets */
.tn-btn-primary,
.tn-btn-outline,
.tn-btn-whatsapp,
.tn-navbar .nav-link {
  min-height: 44px;
}

/* FAB pulse once */
.tn-fab-whatsapp.pulse-once::before {
  animation: fabPulse 2.5s ease-out 1;
}

/* About page */
.tn-about-intro .img-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  height: 420px;
}

.tn-about-intro .text-wrap h2 span {
  color: var(--clr-orange);
}

.tn-about-intro .text-wrap p {
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.tn-about-intro .text-wrap p:last-of-type {
  margin-bottom: 1.5rem;
}

.tn-fuel-card h3.tn-fuel-card__title {
  font-size: 1.125rem;
}

/* Safety instructions */
.tn-safety-instructions__icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--clr-navy), var(--clr-primary));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
  box-shadow: var(--shadow-hover);
}

.tn-safety-instructions__icon i {
  font-size: 2.5rem;
  color: var(--clr-white);
}

.tn-safety-instructions__title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--clr-navy);
  font-size: 1.5rem;
}

.tn-safety-instructions__desc {
  color: var(--clr-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.tn-safety-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: safety-counter;
}

.tn-safety-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  counter-increment: safety-counter;
}

.tn-safety-steps__num {
  min-width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--clr-orange), var(--clr-orange-lt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--clr-white);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 122, 0, 0.3);
}

.tn-safety-steps__title {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  color: var(--clr-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.tn-safety-steps__text {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

.tn-notice-box {
  background: rgba(255, 122, 0, 0.05);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}

.tn-notice-box p {
  font-size: 0.875rem;
  color: var(--clr-muted);
  margin: 0;
  line-height: 1.7;
}

.tn-notice-box i {
  color: var(--clr-orange);
}

.tn-compliance-card p + p {
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Contact hours card */
.tn-hours-card {
  border: none;
  box-shadow: var(--shadow-card);
}

.tn-hours-card .form-body {
  padding: var(--sp-6);
}

.tn-hours-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--clr-navy);
  margin-bottom: var(--sp-6);
}

.tn-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--clr-border);
}

.tn-hours-row:last-child {
  border-bottom: none;
}

.tn-hours-row__label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--clr-dark);
  font-weight: 500;
}

.tn-hours-row__label i {
  width: 18px;
  color: var(--clr-primary);
}

.tn-hours-row__label i.fa-whatsapp {
  color: var(--clr-whatsapp);
}

.tn-hours-row__label i.fa-hourglass-half {
  color: var(--clr-orange);
}

.tn-contact-sub {
  font-size: 0.8125rem;
  color: var(--clr-muted);
  font-weight: 400;
}

.tn-hero--inner.tn-hero--legal {
  min-height: 240px;
}

.tn-legal-footer-note {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}

.tn-section-title__heading span {
  color: var(--clr-orange);
}

.tn-form-sticky-bar .is-hidden {
  display: none !important;
}

/* Footer v2 */
.tn-footer--v2 {
  background: #0a0a0a;
}

.tn-footer--v2 .tn-footer__links a {
  padding-left: 0;
}

.tn-footer--v2 .tn-footer__links a:hover {
  padding-left: var(--sp-2);
}

.tn-footer__contact-list--v2 {
  margin-top: var(--sp-4);
}

.tn-footer__cta-text {
  font-size: var(--fz-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.tn-footer__cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.tn-footer__cta-btn,
.tn-footer__wa-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

.tn-footer--v2 .tn-footer__social {
  margin-top: 0;
  gap: var(--sp-3);
}

.tn-footer__bottom--v2 {
  padding: var(--sp-6) 0;
}

.tn-footer__legal-links--center {
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.6875rem;
}

.tn-backtotop--square {
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  background: var(--clr-orange);
}

.tn-backtotop--square:hover {
  background: var(--clr-orange-dk);
}
