body {
  padding-top: 54px;
}

nav[aria-label="breadcrumb"] .breadcrumb {
  font-size: 0.875rem !important; /* force smaller size */
}

.img-standard {
  width: 100%;          /* fills the column width */
  height: 300px;        /* fixed height */
  object-fit: cover;    /* crops/zooms to fill without distortion */
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px;
    }
}
.small, small {
    font-size: 0.6em;
}



/*******************
 *  Container for desktop absolute positioning of 2 col layout 
******************/

/* Right column: remove padding on desktop so image can be flush left */
.col-right {
  position: relative;
}

/* Wrapper ensures height on desktop when children are absolute */
.right-pane {
  position: relative;
  min-height: 720px;  /* desktop height; adjust as needed */
}

/* Desktop (lg and up): precise placement */
@media (min-width: 992px) {
  .col-right {
    padding: 0; /* remove padding so image hits true bottom-left */
  }

  .portrait {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 66%;
    height: 82%;
    object-fit: cover;
  }

  .caption {
    position: absolute;
    top: 18%;   /* aligns to image top (image is 75% tall) */
    right: 0;
    width: 34%;
    padding: 1rem 1rem 0 1rem; /* comfortable inset for text */
  }
}

/* Mobile/tablet: normal flow (no collapse), stacked layout */
@media (max-width: 991.98px) {
  .col-right {
    padding: 1rem; /* restore padding for mobile readability */
  }

  .right-pane {
    min-height: auto;
  }

  .portrait {
    display: block;
    width: 100%;
    height: 300px;   /* consistent mobile height */
    object-fit: cover;
    margin-bottom: 1rem;
  }

  .caption {
    position: static;
    width: 100%;
    padding: 0;      /* rely on column padding above */
  }
}

.bg-stainless {
  background: linear-gradient(270deg, #555 0%, #888 25%, #ccc 50%, #888 75%, #555 100%);
  color: #f8f9fa; /* light text */
}

.big-quote {
  padding: 3.0rem;     /* adjust as needed */
}



/***********************
  Text Link color
************************/

p a, li a, h4 a {
    color: #004fa3;
    text-decoration: none;
}

p a:hover, li a:hover, h4 a:hover {
    color: #000;
    text-decoration: underline;
}

@media (min-width: 992px) {
  body { padding-top: 56px; }
}

/* Responsive button sizing */
@media (max-width: 990px) {
  .btn-lg { font-size:1rem!important; }
}
@media (max-width: 768px) {
  .carousel-caption img { width: 80%!important; }
  .carousel-caption h3 { font-size: 1.25rem!important; }
  .btn-lg { font-size:1rem!important; }
  .btn { padding: 14px 14px; font-weight: 200; }
}
@media (max-width: 576px) {
  .btn-lg { font-size:1.25rem!important; }
}

/***********************
  Gradient Buttons
************************/
.btn-primary.gradient {
  background: linear-gradient(to bottom, #2561a0 50%, #004fa3 50%);
  border: none;
  padding: 12px 50px; /* wider look */
}
.btn-primary.gradient:hover,
.btn-primary.gradient:focus {
  background: linear-gradient(to bottom, #3e6c9d 50%,#2561a0 50%);
}
.btn-primary.gradient:active {
  background: linear-gradient(to bottom, #267c99 50%,#007299 50%);
}


/**********************
 *  Match active FAQ header to Get in touch button style 
 * ********************/
.accordion-button:not(.collapsed) {
  background: linear-gradient(to bottom, #2561a0 50%, #004fa3 50%);
  border: none;
  color: #fff;                 /* white text */
  /* font-weight: 600;            Bold like a button */
  /*border-radius: 0.3rem;       Rounded corners */
  /*padding: 0.75rem 1.25rem;     Same spacing as .btn-lg */
  box-shadow: none;            /* Remove default shadow */
}

/* Keep focus outline consistent with buttons */
.accordion-button:focus {
  /*box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);*/
  background: linear-gradient(to bottom, #2561a0 50%, #004fa3 50%);
  border: none;
  color: #fff;                 /* white text */
}
/* Chevron turns white when the button is focused */
.accordion-button:focus::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}




/***********************
  Custom Buttons
************************/
.btn-primary {
  background: #004fa3;
  color: #fff;
}
.btn-au {
  background: #006633;
  color: #fff;
}
.btn-au:hover { background: #00753a; }
.btn-au:active { background: #008743; color: #eee; }

/***********************
  Carousel Hero
************************/
header { margin-bottom: 0; }
.carousel { margin-bottom: 0; }

.carousel-hero-img {
  height: 65vh;            /* deeper desktop hero - vh is 65% of the viewport height  */
  max-height: 600px;       /* cap at 600px */
  object-fit: cover;
  object-position: center;
  position: relative; 
  z-index: 0;
}

/* Ensure carousel item provides positioning context */
.carousel-item { position: relative; }


/* Gradient overlay layer */
.carousel-gradient {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%; /* adjust fade height as needed */
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  pointer-events: none;
  z-index: 1;
}


@media (max-width: 768px) {
  .carousel-item::after {
    height: 60%; /* taller fade on small screens */
  }
}


@media (max-width: 768px) {
  .carousel-hero-img {
    height: auto;
    max-height: 70vh;
  }
}

/* Caption block anchored toward bottom */
.carousel-caption.bottom-center {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  text-align: center;
  width: min(92%, 900px);
  margin: 0;
  padding: 0;
}

/* Caption top layer */
.carousel-caption { 
  position: absolute; 
  z-index: 2; 
}



/* Caption elements */
.caption-logo {
  display: inline-block;
  max-width: 500px;
  /*width: 80%;*/
  height: auto;
  margin: 0 0 12px 0;
}
.caption-title {
  margin: 0 0 6px 0;
  font-weight: 600;
}
.caption-sub {
  margin: 0;
}

/* Drop shadow for readability */
.caption-logo,
.caption-title,
.caption-sub {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Type scales */
@media (min-width: 992px) {
  .caption-title { font-size: 2rem; }
  .caption-sub   { font-size: 1.125rem; }
}
@media (max-width: 991.98px) {
  .caption-title { font-size: 1.5rem; }
  .caption-sub   { font-size: 1rem; }
}
@media (max-width: 576px) {
  .caption-logo  { display: none; }
  .caption-title { font-size: 1.25rem; }
  .caption-sub   { font-size: 0.95rem; }
}
@media (max-height: 600px) and (min-width: 992px) {
  .carousel-caption.bottom-center { bottom: 4%; }
}

/***********************
  Navbar
************************/
.bg-light-custom {
  background-color: #dbdbdb!important;
}

/***********************
  Footer
************************/
.bg-dark-footer {
  background-color: #343a40;
}

/***********************
  Card Header
************************/
.card-header {
  background-color: #000!important;
  color: #fff!important;
}
.card-header-light {
  background-color: #dbdbdb;
  color: #000;
}

/***********************
  Special Container
************************/
.jumbotron {
  background: #eceeef url(../img/bg-cont.jpg) repeat-x 0!important;
}

/***********************
  Video Container
************************/
.video-container { 
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 60px;
  overflow: hidden;
}
.video-container iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/***********************
  Image Replacer
************************/
.cf1 { position:relative; min-height: 250px; }
.cf1 img {
  position:absolute; left:0; top:0; max-width:100%; height:auto;
  transition: opacity 0.5s ease-in-out;
}
.cf img.top:hover { opacity:0; }

/***********************
  Form validation errors
************************/
.with-errors {
  font-size: 80%;
  font-weight: 400;
  color: #ff0000;
}

/***********************
  Franchise Callout
************************/
.bs-callout { padding:20px; margin:20px 0; border:1px solid #eee; border-left-width:5px; border-radius:3px; }
.bs-callout-danger { border-left-color:#006633!important; }
.bg-danger { background-color:#ffedb7!important; }

/***********************
  Contact confirmation
************************/
.padding-5 { padding:5px; }
.successful { color:#13bb3a; background:#fff; border-color:#fff; font-weight:bold; }
.marginer { margin-bottom:20px; }


/* Darken the default arrow icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);   /* turns white icons black */
}

/* Optional: add a subtle background circle */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.4);
  border-radius: 50%;
}

#testimonialCarousel .carousel-item .card {
  max-width: 800px;   /* keep text block narrower */
  margin: 0 auto;     /* center it */
}
#testimonialCarousel .carousel-item {
  padding: 0 3rem; /* space on left/right so arrows don’t overlap text */
}


/***********************
 Flip-card container 
************************/
.flip-card {
  perspective: 1000px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; /* improves mobile tap behaviour */
}

/* Inner wrapper handles the flip transform */
.flip-card-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

/* Flip when active (mobile tap or keyboard toggle) */
.flip-card.active .flip-card-inner {
  transform: rotateY(180deg);
}

/* Flip on hover only for devices that support hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}

/* Front face stays in normal flow so images define height */
.flip-card-front {
  position: relative;
  backface-visibility: hidden;
  border-radius: 0.25rem;
  overflow: hidden;
}

/* Back face overlays the front */
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 0.25rem;
  overflow: hidden;
  transform: rotateY(180deg);
}

/* Image sizing */
.flip-card-front img,
.flip-card-back img {
  display: block;
  width: 100%;
  height: auto;
}

/* Caption below each tile */
.flip-caption {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 0.35rem;
  color: #6c757d; /* Bootstrap muted tone */
}

/* Keyboard focus styling */
.flip-card:focus-visible {
  outline: 2px solid #0d6efd; /* Bootstrap primary */
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .flip-card-inner {
    transition: none;
  }
}

/***********************
  Emphasis box on Franchise
************************/
.bs-callout+.bs-callout {
    margin-top: -5px;
}

.bs-callout-danger {
    border-left-color: #006633!important;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bg-danger {
    background-color: #ffedb7!important;
}
.btn-au {
    background: #006633;
    color: #ffffff;
    padding: 12px 50px; /* wider look */
}
.btn-au:hover, .btn-au:focus, .btn-au:active, .btn-au.active, .open > .dropdown-toggle.btn-au {
    background: #00753a;
    color: #ffffff;
}
.btn-au:active, .btn-au.active {
    background: #008743;
    box-shadow: none;
    color: #eee;
}


/***********************
  Contact form styles
************************/
label {
      display: block;
      margin-bottom: 8px;
      font-weight: bold;
  }
  input[type="text"],
  input[type="email"],
  textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
  }
  .g-recaptcha {
      margin-bottom: 10px;
  }
  input[type="submit"] {
      background-color: #4CAF50;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 16px;
  }
  input[type="submit"]:hover {
      background-color: #45a049;
  }
  .feedback {
      text-align: center;
      margin-bottom: 20px;
      padding: 10px;
      border-radius: 4px;
      font-weight: bold;
  }
  .feedback.success {
      background-color: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
  }
  .feedback.error {
      background-color: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
  }

  /************************
   Standardised promo image size 
  **********************/
.promo-img {
  width: 100%;          /* fill column width */
  height: 300px;        /* fixed height for consistency */
  object-fit: cover;    /* crop/scale to fill without distortion */
  border-radius: 0.5rem; /* optional rounded corners */
}