/* Believe In Me - site-specific overrides and additions, loaded after the template's main.css */

/* Gallery page - photo thumbnails auto-discovered from assets/img/gallery/ */
.tp-gallery-thumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
}
.tp-gallery-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: 0.3s;
}
.tp-gallery-thumb:hover img {
  transform: scale(1.06);
}

/* The template's footer columns carry left/right margin hacks tuned for its original
   4-column layout (Logo | Services | Quick Links | Get In Touch). Now that Quick Links
   is removed and Services/Get In Touch are wider, those margins push "Our Services"
   right and pull "Get In Touch" left, colliding the two together. Reset them. */
.tp-footer-2-col-1,
.tp-footer-2-col-2,
.tp-footer-2-col-4 {
  margin-left: 0;
  margin-right: 0;
}
.tp-footer-2-col-2 {
  padding-right: 24px;
}
@media (max-width: 991px) {
  .tp-footer-2-col-2 {
    padding-right: 0;
  }
}

/* Footer "Our Services" list (17 items) reflowed into 2 columns instead of one long list. */
.tp-footer-widget-link.tp-footer-widget-link-2col ul {
  column-count: 2;
  column-gap: 24px;
}
.tp-footer-widget-link.tp-footer-widget-link-2col ul li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
@media (max-width: 575px) {
  .tp-footer-widget-link.tp-footer-widget-link-2col ul {
    column-count: 1;
  }
}

/* "Our Services" header dropdown mega-menu: title bar, 2-column icon list, CTA button.
   17 items no longer fit a single narrow column, so this reflows them into two columns
   with a fixed title row at top and a full-width CTA button at the bottom. */
.main-menu ul li .tp-submenu.tp-mega-services {
  width: 820px !important;
  padding: 28px 0 0;
  column-count: 2;
  column-gap: 0;
}
.tp-mega-services-title {
  column-span: all;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tp-red-1);
  padding: 0 28px 16px !important;
  margin-bottom: 10px;
  border-bottom: 1px solid #EFEFEF;
}
.tp-submenu.tp-mega-services .tp-mega-services-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.tp-submenu.tp-mega-services .tp-mega-services-item > a {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 10px 28px !important;
  white-space: normal;
  line-height: 1.25;
}
.tp-mega-services-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: rgba(216, 34, 33, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-mega-services-icon i {
  color: var(--tp-red-1);
  font-size: 16px;
}
.tp-submenu.tp-mega-services .tp-mega-services-item > a::before {
  display: none;
}
.tp-mega-services-cta {
  column-span: all;
  margin-top: 14px;
}
.tp-mega-services-cta > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--tp-red-1);
  color: var(--tp-common-white) !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 18px !important;
}
.tp-mega-services-cta > a:hover {
  background-color: var(--tp-theme-primary);
}
.tp-mega-services-cta > a::before {
  display: none;
}
@media (max-width: 991px) {
  .main-menu ul li .tp-submenu.tp-mega-services {
    width: 100% !important;
    column-count: 1;
  }
  .tp-mega-services-title {
    column-span: none;
  }
  .tp-mega-services-cta {
    column-span: none;
  }
}

/* Equal-height service cards on the Our Services grid, so a longer summary on one
   card doesn't leave neighbouring cards in the row misaligned/shorter. */
.tp-services-2 {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.tp-services-2-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tp-services-2-list {
  flex: 1;
}

/* Smaller "Explore More" header button (the template default is oversized: 30px/41px padding) */
.tp-header-btn a {
  padding: 14px 24px;
  font-size: 13px;
  letter-spacing: 1px;
}
.tp-header-btn a i {
  font-size: 14px;
  margin-left: 6px;
}
/* The template collapses this gap to 0 between 1200-1399px wide viewports, which crowds
   the button right up against the phone number - keep a minimum gap at that width too. */
.tp-header-call {
  margin-right: 24px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .tp-header-btn {
    margin-left: 20px;
  }
}

/* The email address has no spaces to break on, so in a flex row (d-flex) it was
   overflowing its column and spilling into the next contact-info card. */
.tp-contact-info-content {
  min-width: 0;
}
.tp-contact-info-content a {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Redesigned footer additions */
.tp-btn-sm {
  padding: 12px 24px !important;
  font-size: 14px !important;
  text-align: center;
}
.tp-footer-getintouch-btns .tp-btn,
.tp-footer-getintouch-btns .tp-btn-2 {
  width: fit-content;
}
.tp-footer-widget-newsletter-content span {
  color: var(--tp-common-white);
  opacity: 0.8;
}
.tp-footer-ndis-badge {
  display: inline-block;
  background-color: var(--tp-common-white);
  padding: 10px 14px;
  border-radius: 6px;
}
.tp-footer-ndis-badge img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}
.tp-footer-abn {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px !important;
  margin-top: 4px !important;
}
.tp-footer-credit p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 0;
}
.tp-footer-credit a {
  color: var(--tp-common-white);
  font-weight: 600;
}
.tp-footer-credit a:hover {
  color: var(--tp-red-1);
}
.tp-footer-acknowledgement {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding: 30px 0;
}
.tp-acknowledgement-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-left: 4px solid #6FB93C;
  border-radius: 6px;
  padding: 24px 24px 24px 20px;
}
.tp-acknowledgement-flags {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}
.tp-acknowledgement-card h5 {
  color: var(--tp-common-white);
  font-size: 17px;
  margin-bottom: 12px;
}
.tp-acknowledgement-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 0 12px;
}
.tp-acknowledgement-card p:last-child {
  margin-bottom: 0;
}

/* Redesigned individual service pages */
.tp-service-hero {
  padding-top: 90px;
  padding-bottom: 90px;
}
.tp-service-hero-icon {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--tp-red-1);
  margin-bottom: 22px;
}
.tp-service-hero-icon i {
  font-size: 32px;
  color: var(--tp-common-white);
}
.tp-service-hero .tp-breadcrumb-link a,
.tp-service-hero .tp-breadcrumb-link span {
  color: rgba(255, 255, 255, 0.75);
}
.tp-service-hero-title {
  color: var(--tp-common-white);
  font-size: 44px;
  margin-bottom: 14px;
}
.tp-service-hero-summary {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}
.tp-service-lead {
  font-size: 18px;
  line-height: 1.8;
}
.tp-service-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 575px) {
  .tp-service-check-grid {
    grid-template-columns: 1fr;
  }
}
.tp-service-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background-color: #F7F7F9;
  border-radius: 6px;
}
.tp-service-check-item i {
  color: var(--tp-red-1);
  font-size: 18px;
  margin-top: 3px;
}
.tp-service-check-item span {
  font-size: 15px;
  line-height: 1.5;
}
.tp-service-cta-banner {
  background-color: var(--tp-theme-primary);
  border-radius: 8px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 45px 0;
}
.tp-service-cta-banner-text h4 {
  color: var(--tp-common-white);
  margin-bottom: 6px;
}
.tp-service-cta-banner-text p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.tp-service-cta-banner a {
  white-space: nowrap;
}
.tp-service-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tp-service-chip {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #E4E4E9;
  border-radius: 30px;
  font-size: 14px;
  color: var(--tp-theme-primary);
  transition: 0.3s;
}
.tp-service-chip:hover {
  background-color: var(--tp-red-1);
  border-color: var(--tp-red-1);
  color: var(--tp-common-white);
}
.tp-service-chip.is-current {
  background-color: var(--tp-theme-primary);
  border-color: var(--tp-theme-primary);
  color: var(--tp-common-white);
}

/* Redesigned secondary pages (about-us, contact, carrer, referral, resources, team) */
.tp-stat-strip {
  background-color: #F7F7F9;
  border-radius: 8px;
  padding: 30px 10px;
}
.tp-stat-strip-item {
  text-align: center;
}
.tp-stat-strip-item h4 {
  font-size: 34px;
  color: var(--tp-theme-primary);
  margin-bottom: 4px;
}
.tp-stat-strip-item p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.tp-fee-card {
  border: 1px solid #E6E7E8;
  border-radius: 8px;
  padding: 24px 26px;
  height: 100%;
}
.tp-fee-card h5 {
  margin-bottom: 8px;
}
.tp-fee-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}
.tp-fee-card-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid #EEE;
  padding-top: 14px;
}
.tp-fee-card-price strong {
  font-size: 22px;
  color: var(--tp-red-1);
}
.tp-fee-card-price span {
  font-size: 13px;
  color: #888;
}

.tp-team-profile {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: #F7F7F9;
  border-radius: 8px;
  padding: 40px;
}
@media (max-width: 767px) {
  .tp-team-profile {
    flex-direction: column;
    text-align: center;
  }
}
.tp-team-profile-photo img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--tp-common-white);
}
.tp-team-profile-name {
  margin-bottom: 2px;
}
.tp-team-profile-role {
  color: var(--tp-red-1);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.tp-credential-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
@media (max-width: 767px) {
  .tp-credential-chip-list {
    justify-content: center;
  }
}
.tp-credential-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: var(--tp-theme-primary);
  color: var(--tp-common-white);
  font-size: 12px;
  font-weight: 600;
}

/* Am I Eligible? pre-screening page */
.tp-notice-box {
  background-color: #FFF7E6;
  border: 1px solid #F4D9A0;
  border-left: 4px solid var(--tp-red-1);
  border-radius: 6px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #6B5B2E;
}
.tp-notice-box strong {
  color: #4A3D14;
}
.tp-eligibility-section {
  background-color: #F7F7F9;
  border-radius: 8px;
  padding: 32px 36px;
  margin-bottom: 24px;
}
.tp-form-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 575px) {
  .tp-form-check-grid {
    grid-template-columns: 1fr;
  }
}
.tp-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.tp-result-card {
  border-radius: 8px;
  padding: 32px 36px;
  margin-bottom: 40px;
  border: 1px solid #E4E4E9;
  border-left: 5px solid var(--tp-theme-primary);
}
.tp-result-card.is-positive {
  border-left-color: #2E7D32;
}
.tp-result-card.is-caution {
  border-left-color: var(--tp-red-1);
}
.tp-result-card h4 {
  margin-bottom: 10px;
}
.tp-result-card ul {
  margin-top: 12px;
  padding-left: 20px;
}
.tp-result-readiness {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background-color: var(--tp-theme-primary);
  color: var(--tp-common-white);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
