/* HERO */
.hero{ 
    background: var(--color-scheme-1-bg);
    display: flex;
    align-items: center;
    min-height: 95vh;
}
.hero-inner{ 
    padding: 2rem 0; 
}
.hero-title{
    font-family: "Nunito", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.8rem;
    color: var(--color-scheme-1-text);
    /* responsive font-sizing with clamp */
    font-size: clamp(2rem, 6vw, 5.2rem);
    letter-spacing: .5px;
}
.hero-sub{
    font-family: Raleway;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--color-scheme-1-text);
}
.hero-img{
    position: relative;
    max-height: 80vh;
    object-fit: contain;
    display:block;
}
.hero-video {
    position: relative;
    max-height: 80vh;
    object-fit: contain;
    display:block;
    filter: blur(0);
}
.btn-explore{
    background: linear-gradient(135deg, var(--dodger) 0%, var(--mountain) 100%);
    border: 1px solid var(--dodger);
    border-radius: 0.5rem;
    color: var(--color-white);
}
.btn-downloads{
    border: 1px solid var(--neutral-15);
    border-radius: 0.5rem;
    color: var(--color-scheme-1-text);
    background: transparent;
}
.btn-downloads:hover{
    color: var(--color-scheme-1-text-muted) !important;
}


/* Cards */
.card{
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    background-color: var(--color-scheme-1-bg);
    margin: 10px 0;
    max-width: 360px;
    margin: 0.5rem auto;
}
.card-body{
    padding: 1.25rem;
}
.certificate-content {
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.img-certificate {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    border-radius: 1rem 1rem 0 0;
}
.read-time {
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.75rem;
}
.card-title{
    font-family: Nunito;
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: .6rem;
    color: var(--color-scheme-1-text);
}
.card-text{
    font-size: 1.125rem;
    color: var(--color-scheme-1-text);
}
.link-btn{
    display:inline-flex; 
    align-items:center; 
    gap:.5rem;
    font-size: 1rem;
    text-decoration:none; 
    font-weight:500;
    color: var(--color-scheme-1-text);
    margin-top: .75rem;
    transition: ease-in 0.1s all;
}
.link-btn > .bi-chevron-right {
    transition: ease-out 0.1s all;
}
.link-btn:hover > .bi-chevron-right {
    transform: translate(0.6rem, 0);
    transition: ease-in 0.2s all;
}


/* Partners section */
.partners-slider {
    width: 90%;
    max-width: 1536px;
    margin-inline: auto;
    position: relative;
    height: 100px;
    margin-top: 5rem;
    overflow: hidden;
    mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0)
    );
}
@keyframes scrollLeft {
    to {
        left: -200px;
    }
}
.item {
    width: 200px;
    height: 100px;
    background-color: transparent;
    border-radius: 6px;
    position: absolute;
    left: max(calc(200px * 8), 100%);
    animation-name: scrollLeft;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.item1 {
    animation-delay: calc(30s / 8 * (8 - 1) * -1);
}
.item2 {
    animation-delay: calc(30s / 8 * (8 - 2) * -1);
}
.item3 {
    animation-delay: calc(30s / 8 * (8 - 3) * -1);
}
.item4 {
    animation-delay: calc(30s / 8 * (8 - 4) * -1);
}
.item5 {
    animation-delay: calc(30s / 8 * (8 - 5) * -1);
}
.item6 {
    animation-delay: calc(30s / 8 * (8 - 6) * -1);
}
.item7 {
    animation-delay: calc(30s / 8 * (8 - 7) * -1);
}
.item8 {
    animation-delay: calc(30s / 8 * (8 - 8) * -1);
}
.card-img-fit{
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}


/* Extra small devices (phones, portrait) */
@media (max-width: 575.98px) {
    .hero{
        padding-top: 1rem;
    }
}

/* Small devices (phones, landscape) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* CSS for larger phones / small tablets */
}

/* Only for medium screens */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* CSS for medium screens */
}

/* Large devices (desktops) */
@media (min-width: 1200px) {
    .certification-title{
        max-width: 90%;   
        margin: 0 auto;
    }
    .downloads-title{
        max-width: 80%;   
        margin: 0.8rem auto;
        margin-bottom: 0;
    }
}