/* hide all panels by default */
.tab-panel {
  display: none;
  /* preserve layout spacing if you need it, otherwise hidden */
  /* visibility: hidden; */
}

/* show only active panel */
.tab-panel.active {
  display: block;
}

/* simple tab styling */
.tab { cursor: pointer; padding: 8px 14px; border-radius: 20px; background: #f3f4f6; border: 1px solid #e5e7eb; }
.tab.active { background: #f6c200; color: #111; border-color: #f6c200; }

/* for accessibility focus */
.tab:focus { outline: 3px solid rgba(246,194,0,0.3); outline-offset: 3px; }
header .logo img,
footer .logo img {
  width: auto;
  height: 48px;           /* adjust this value if you want it bigger/smaller */
  max-height: 64px;
  object-fit: contain;
}
.btn-final{
  background:#FFFFFF;color:#0E162A;border: 10px #FFD700;
  }
.btn-final:hover{background:#F2F2F2}

/* Allow brand to display on small screens (override earlier rule hiding it) */
@media (max-width:720px) {
  .brand {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }
}

/* Prevent grid items from forcing minimum widths */
.container,
.hero,
.features,
.courses-grid,
.videos,
.google-reviews,
.tab-panels,
.tab-list {
  min-width: 0;
}

/* Make individual cards flexible so they don't force horizontal scroll */
.course,
.feature,
.g-review,
.testimonial,
.video-embed,
.hero-right,
.hero-image {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Override the inline aside widths so contact aside doesn't push layout */
section#book-trial aside {
  width: 100% !important;
  max-width: 320px;
  min-width: 0 !important;
}

/* When screen is narrower, ensure header/nav elements wrap nicely */
@media (max-width:720px) {
  header .container.nav {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* keep CTA buttons usable without forcing width */
  .cta { flex-wrap: wrap; gap:8px; }

  /* Make .hero image area stack neatly (if any leftovers) */
  .hero-right { padding: 12px; }
  .hero-image { max-width: 100%; width: 100%; height: auto; }
}

/* Defensive: ensure large shadows or transform don't create overflow */
* {
  -webkit-overflow-scrolling: touch;
}

/* If any element still pushes beyond body width (extreme cases),
   cap the transform translation on common carousels/tracks */
.carousel-track, .testimonial, .carousel {
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
footer.logo{
  display: none;
}