h1 {
    font-size: var(--h1);
}

h2 {
    font-size: var(--h2);
}

h3 {
    font-size: var(--h3);
}

h4 {
    font-size: var(--h4);
}

h5 {
    font-size: var(--h5);
    font-weight: 700;
}

h6 {
    font-size: var(--h6);
    font-weight: 700;
}

h5.primary {
    color: var(--primary);
}

h2.secondary,
h3.secondary,
h4.secondary,
h5.secondary,
h6.secondary {
    color: var(--secondary);
}

h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
    color: var(--tertiary);
}



p {
    margin: 0;
    line-height: 1.8;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.with-dots {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
}
a:hover {
    text-decoration: none;
    color: var(--primary);
    opacity: 0.8;
}

.modal-header,
.modal-footer {
    border: none;
}

.modal-footer {
    justify-content: center;
    flex-direction: row-reverse;
    gap: 1rem;
}

.btn-close {
    background: none;
    opacity: 1;
    width: 27px;
    height: 27px;
}

.btn-close:focus {
    outline: none;
}

.btn-check:focus+.btn, .btn:focus {
    box-shadow: none;
}

.btn-transparent {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: initial;
}

.btn-transparent:hover {
    opacity: 1;
}


/**** CAROUSEL LAYOUT ****/

.carousel-indicators [data-bs-target] {
    width: 13px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-radius: 100px;
    background-clip: initial;
    margin-bottom: 1.5rem;
}

.carousel.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption.centered {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.carousel-caption.bt-right {
    bottom: 15%;
    left: 5%;
    right: initial;
    width: 100%;
    text-align: left;
}

.carousel-caption.ct-left {
    top: 55%;
    left: 73%;
    width: 100%;
    text-align: left;
    transform: translate(-50%, -50%);
}

.carousel-caption.ct-left h3 {
    color: #FFDDB9;
    position: relative;
    z-index: 2;
}

.carousel-caption.tp-left {
    top: 20%;
    left: 5%;
    width: 100%;
    text-align: left;
}

.carousel-caption.tp-left h3,
.carousel-caption.tp-left p {
    color: var(--secondary);
    position: relative;
    z-index: 20;
}

.carousel-caption.centered h3 {
    font-size: 4vw;
    font-weight: 600;
    position: relative;
    z-index: 20;
    text-shadow: 1px 1px 4px #0000005e;
}

.carousel-caption:not(.centered) h3 {
    font-size: var(--h1);
    font-weight: 600;
    position: relative;
    z-index: 20;
    text-shadow: 1px 1px 4px #0000005e;
}

.carousel-item {
    height: 100dvh;
    max-height: 920px;
}

.carousel-item.hero-2::before {
    content: "";
    display: block;
    background: linear-gradient(174.6deg, #FFFFFF 5.37%, #164988 41.18%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 0;
}

.carousel-item.hero-3::before {
    content: "";
    display: block;
    background: linear-gradient(174.6deg, #FFFFFF 5.37%, #164988 41.18%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 0;
}

.carousel-item.hero-4::before {
    content: "";
    display: block;
    background: linear-gradient(180.57deg, #FFFFFF 27.17%, #164988 66.44%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 1;
}
