/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

#masthead.nd-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: var(--bs-tertiary-bg, #f8f9fa);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

#masthead.nd-header--transparent {
  background-color: transparent;
}

#masthead.nd-header--scrolled {
  background-color: var(--bs-body-bg, #fff);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Keep the sticky header below the fixed WordPress toolbar. */
@media (min-width: 783px) {
  .admin-bar #masthead.nd-header {
    top: 32px;
  }
}

@media (max-width: 782px) {
  .admin-bar #masthead.nd-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #masthead.nd-header {
    transition: none;
  }
}

/* Header: dual logo brand */
#nav-main .nd-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-block: 12px;
}

#nav-main .nd-logo {
  display: block;
  flex-shrink: 0;
  height: 64px;
  width: auto;
  object-fit: contain;
}

/* Header: main menu items */
#bootscore-navbar .nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: #020407;
  margin-left: 30px;
}

#bootscore-navbar .nav-link {
  transition: all 0.3s ease;
}

#bootscore-navbar .nav-link:hover {
  color: #313C7A;
  transform: translateY(-2px);
}

/* Header: Book Now CTA */
.nd-book-now {
  padding: 0.5rem 1.5rem;
  white-space: nowrap;
}

/* Header: container width + inner padding */
.nd-header-container {
  max-width: 1680px;
  padding-left: 24px;
  padding-right: 24px;
}

/* Keep branding and controls on one row while the menu is collapsed. */
#nav-main>.nd-header-container {
  width: 100%;
  max-width: 1680px;
  flex-wrap: nowrap;
  gap: 12px;
}

#nav-main .navbar-brand {
  min-width: 0;
  margin-right: 0;
  flex-shrink: 0;
}

#nav-main .header-actions {
  flex-shrink: 0;
  margin-left: auto;
}

#nav-main .nav-toggler {
  width: 44px;
  height: 44px;
  padding: 0;
}

#offcanvas-navbar {
  --bs-offcanvas-width: min(360px, 100vw);
}

@media (max-width: 1199.98px) {
  #bootscore-navbar .nav-link {
    padding: 12px 0;
    overflow-wrap: anywhere;
  }

  #offcanvas-navbar .dropdown-menu {
    min-width: 0;
  }

  #offcanvas-navbar .dropdown-item {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 1200px) {
  #offcanvas-navbar {
    min-width: 0;
  }

  #bootscore-navbar {
    flex-wrap: wrap;
  }
}

@media (max-width: 575.98px) {
  #nav-main>.nd-header-container {
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }

  #nav-main .navbar-brand {
    flex-shrink: 1;
  }

  #nav-main .nd-header-brand {
    gap: 12px;
    padding-block: 8px;
  }

  #nav-main .nd-logo {
    height: clamp(28px, 9vw, 40px);
  }

  #offcanvas-navbar .nd-book-now {
    display: block;
    width: 100%;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

h1,
.h1 {
  font-size: 4rem !important;
  line-height: 1.2;
}

h2,
.h2 {
  font-size: 3rem !important;
  line-height: 1.2;
}

h3,
.h3 {
  font-size: 2rem !important;
  line-height: 1.2;
}

h5,
.h5 {
  line-height: 1.2;
}

h6,
.h6 {
  font-size: 1.25rem !important;
  line-height: 1.2;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
btn {
  letter-spacing: normal !important;
  /*letter-spacing: .8px !important;*/
  /*apply on specific font styles only*/
}

p {
  line-height: 1.6;
  font-size: 16px;
}

p.lead {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.header-row.container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  p.lead {
    font-size: 20px;
  }
}

@media (max-width: 767px) {

  h1,
  .h1 {
    font-size: calc(2rem + 1.5vw) !important;
  }

  h2,
  .h2 {
    font-size: 32px !important;
  }

  h3,
  .h3 {
    font-size: 28px !important;
  }

  h5,
  .h5 {
    font-size: 20px !important;
  }

  h6,
  .h6 {
    font-size: 1rem !important;
  }
}

/*#main {*/
/*	background: #F5F5F5;*/
/*}*/

.nd-container,
.nd-container-inner>div {
  margin-left: 0;
  margin-right: 0;
  padding-left: 12px !important;
  padding-right: 12px !important;
  width: 100%;
  max-width: 1680px;
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: 100%;
  max-width: 1680px;
}

.nd-container-inner {
  justify-content: center !important;
}

.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* auto paddings */
.auto-padding {
  padding: calc(1.813rem + 1.5625vw);
  padding-left: 12px;
  padding-right: 12px;
}

.left-full-column,
.right-full-column {
  --gap: 6rem;
  --offset: calc((100vw - 1681px) / 2 + 4px);
  --y-offset: 45px;
  padding-top: var(--y-offset);
  padding-bottom: var(--y-offset);
}

.left-full-column {
  padding-left: var(--offset);
  padding-right: var(--gap);
}

.right-full-column {
  padding-right: var(--offset);
  padding-left: var(--gap);
}

h3.porto-sicon-title {
  font-weight: 700;
}

.page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.limit-words {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.thumb-info img {
  width: 100%;
  /* ensure the image covers the width */
  height: 100%;
  /* ensure the image covers the height */
  object-fit: cover;
  /* cover the container, maintaining the aspect ratio */
  /*  	max-height: 600px; */
  overflow: hidden;
}

.thumb-info .partners-logo {
  transition: 0.3s;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 90%;
}

.blog-masonry-image img {
  min-height: 300px;
  max-height: 300px !important;
}

.min-h-880-max-900 {
  min-height: 880px;
  max-height: 900px;
}

.min-h-825 {
  height: 100%;
  min-height: 825px;
  max-height: 825px;
}

.justify-content-space-between {
  justify-content: space-between;
}

.gutenberg-hb>.porto-block>*:not(.porto-section),
.gutenberg-hb .porto-section>*:not(.container),
.gutenberg-hb .porto-section>.container>* {
  margin-right: 0;
}

.sticky-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f54f !important;
  animation: fadeInDown 0.3s ease-out;
}

#header,
.sticky-header .header-main.sticky {
  border-top: none;
}

#footer .footer-bottom .footer-left {
  padding: 10px 0 10px 0;
}

@media (min-width: 768px) {}

@media (min-width: 992px) {

  html,
  p {
    font-size: 18px;
  }

  .auto-padding {
    padding: calc(2.813rem + 1.5625vw);
  }

  .left-full-column,
  .right-full-column {
    --y-offset: calc(2.813rem + 1.5625vw);
  }
}

@media (min-width: 1600px) {}

@media (max-width: 1760px) {

  .left-full-column,
  .right-full-column {
    --gap: 2rem;
  }

  .left-full-column {
    padding-left: 12px;
  }

  .right-full-column {
    padding-right: 12px;
  }
}

@media (max-width: 1400px) {
  .nd-book-now {
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    width: 100%;
  }

  .left-full-column {
    padding-right: 12px;
  }

  .right-full-column {
    padding-left: 12px;
  }
}

/* ── Review card inner — white background ── */
.rpi-card-inner.rpi-logo.rpi-logo-google {
  background: #fff !important;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1) !important;
}

/* ── Arrows — icon only, no button style ── */
.rpi-ltgt.rpi-lt.rpi-slider-prev,
.rpi-ltgt.rpi-gt.rpi-slider-next {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 8px !important;
  cursor: pointer !important;
  opacity: 0.6 !important;
  transition: opacity 0.2s ease !important;
}

.rpi-ltgt.rpi-lt.rpi-slider-prev:hover,
.rpi-ltgt.rpi-gt.rpi-slider-next:hover {
  opacity: 1 !important;
  background: transparent !important;
  border: none !important;
}

.rpi-img-wrap::before {
  display: none !important;
}

/* ── See all / Review us buttons ── */
.rpi-review_us.rpi-clickable a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 12px 12px !important;
  border-radius: 100% !important;
  background: #1a73e8 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.2s ease !important;
  white-space: nowrap !important;
}

.rpi-review_us.rpi-clickable a:hover {
  background: #1558b0 !important;
  color: #fff !important;
}

.rpi-reply rpi-scroll {
  color: #131842 !important;
}

.template-11-bg {
  background-color: #fcfcfc !important;
}

.btn {
  background-color: #313C7A;
  color: #fff;
}

.btn:hover {
  background-color: #4b579b;
  color: #fff;
}
