/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: rgb(var(--bs-tertiary-color-rgb));
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}


.navbar.navbar-expand-md.navbar-dark.fixed-top.bg-dark {
   border-bottom: gray dotted 1px;
}

/* MARKETING CONTENT
-------------------------------------------------- */

main {
  padding-top: 100px;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */

.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 20px;
    border: 2px solid transparent; /* default invisible border */
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}









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

.featurette-divider {
  margin: 5rem 0 1rem 0; /* Space out the Bootstrap <hr> more */
}

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

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}






/* ----Extras----------------- */

.card-link {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 80px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    background-size: 140px auto; /* match original image size */
    background-repeat: no-repeat;
    background-position: bottom left;
    background-color: #222; /* fallback background */
    transition: all 0.25s ease;
}

/* Hover/active border effects */
.card-link:hover {
    border-color: #22b2ad;
    background-color: rgba(0, 123, 255, 0.1);
}

.card-link:active,
.card-link:focus {
    border-color: #22b2ad;
    background-color: rgba(0, 86, 179, 0.2);
}

/* Individual backgrounds with 50% transparency overlay */
.card-link::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.1; /* 50% transparency */
    z-index: 0;
    background-repeat: no-repeat;
    background-position: middle left;
    background-size: 240px auto;
    transition: opacity 0.25s ease;
}

.card-link > * {
    position: relative;
    z-index: 1;
}

/* Specific image assignments */
.backup::before { background-image: url('img/backup.png'); }
.train::before { background-image: url('img/train.png'); }
.support::before { background-image: url('img/support.png'); }
.cyberrisk::before { background-image: url('img/cyber-risk.png'); }
.defend::before { background-image: url('img/Defend.png'); }
.verify::before { background-image: url('img/Verify.png'); }
.website::before { background-image: url('img/website.png'); }
.license::before { background-image: url('img/license.png'); }
.pdns::before { background-image: url('img/pdns.png'); }