@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@font-face {
    font-family: 'scFont'; /* Choose a name for your font */
    src: url('./myriad-pro/MYRIADPRO-BOLDIT.OTF') format('opentype');
}

/* Make the whole card reliably clickable with stretched-link */
.service-card { position: relative; overflow: hidden; }
.service-card .service-img { display:block; width:100%; height:auto; }

/* Put content below the click layer */
.service-card .service-content,
.service-card .service-img { position: relative; z-index: 1; }

/* Ensure the stretched-link's hit area is on top */
.service-card > .stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;          /* key line: above other children */
}

/* keep the visible button above too so it’s focusable and right-clickable */
.service-card .btn-quote { position: relative; z-index: 6; }


body {
  background-color: #fff;
  font-family: Outfit, sans-serif;
  font-weight: 400;
  color: #000;
}

.font-brand {
  font-family: scFont;
}

.text-brand {
  color: #D4000E;
}
.bg-brand {
	background-color: #D4000E;
	color: #fff;
}

.btn-brand {
    background-color: #D4000E;
    border-color: #D4000E;
    color: #fff;
  }
  .btn-brand:hover,
  .btn-brand:focus {
    background-color: #b0000c;
    border-color: #b0000c;
    color: #fff;
  }

.navbar-brand {
  font-size: 1.5em;
  margin-right: 2px;
}
span.trademark {
  font-weight: normal;
  color: #fff;
  font-family: Outfit, sans-serif;
}

.sequential-text {
  gap: 0.5rem;
}

.sequential-text span {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: var(--delay);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-hover {
  position: relative;
  border-radius: 24px;
  background-size: cover;
  background-position: 50% 15%;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);

  height: 220px !important;
}

.card-hover:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.card-desc {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.9;
}

.cardModal {
	background-color: rgb(0,0,0,0);
}
.modal-content {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.15);
}

.modal-img {
  height: 400px;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
}

.quote-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.card-hover:hover .quote-btn {
  opacity: 1;
  transform: translateY(0);
}



/* Featurettes
------------------------- */

.marketing {
	background-color: #F4F4F4;
}
.featurette-divider {
	margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
	letter-spacing: -.05rem;
}

@media (min-width: 50em) {
  .featurette-heading {
    font-size: 50px;
  }
}



/* pre-footer */
.pre-footer {
  
  color: #fff;
}
.pre-footer a, .pre-footer a:visited, .pre-footer a:focus {
  color: #969696;
}
.pre-footer a:hover {
  color:#fff;
}


/*Video*/
#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2; /* Keeps it behind everything */
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0 0 0 / 50%); /* Dark overlay for readability */
  z-index: -1;
}

.product {
  position: relative;
  z-index: 1;
  padding: 130px 24px !important;
}

.dropdown-item {
  border-radius: 15px;
}


/*
.service-card {
  background-color: #000;
  color: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 0 0 transparent;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 30px rgba(255, 255, 255, 0.05);
}

.service-card .icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  font-size: 14px;
  opacity: 0.85;
}
*/






.service-card {
  display: flex;
  flex-direction: row;
  align-items: center;

  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  padding: 10px 20px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-img {
  max-width: 150px;
  object-fit: cover;
  border-radius: 12px;
}

.service-card h3 {
  font-size: 18px;
  margin: 5px 0;
  font-weight: 600;
  color: #000;
}

.service-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.service-content {
  width: 70%;
}

.btn-quote {
  display: inline-block;
  background: #d4000e;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-quote:hover {
  background: #a8000b;
}

@media (max-width: 1199px) {
  .product {
    padding: 48px 24px !important;
  }
  .service-img {
    max-width: 100px;
  }
}



#canadian-provinces .flag-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#canadian-provinces .flag-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
#canadian-provinces .row img {
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease-in-out;
}
#canadian-provinces .row img:hover {
  transform: scale(1.05);
}
