/* =======================
   HERO SLIDER BASE
======================= */

.carousel-item {
    position: relative;
}

.carousel-item img{
    width: 100%;
    height: 75vh;
    object-fit: cover;
}

/* Caption wrapper */
.carousel-caption{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: transparent;
    padding-left: 8%;
    padding-right: 8%;
}

/* Hero text alignment */
.hero-text{
    display: flex;
    align-items: center;
    padding-left: 159px;
}

/* Content box */
.hero-section-main{
    max-width: 60%;
}

/* Heading */
.hero-text h2{
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: left;
}

/* Paragraph */
.hero-text p{
    font-size: 18px;
    line-height: 1.6;
    text-align: left;
}

/* Button */
.hero-text .button{
      text-align: justify;
    margin-top: 24px;
}

.hero-text .button button{
    padding: 14px 34px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    background: #01337d;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* =======================
   LAPTOP
======================= */
@media (max-width: 1200px){
    .hero-text h2{
        font-size: 42px;
    }
}

/* =======================
   TABLET
======================= */
@media (max-width: 991px){
    .carousel-item img{
        height: 70vh;
    }

    .carousel-caption{
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero-section-main{
        max-width: 100%;
    }

    .hero-text h2{
        font-size: 32px;
    }

    .hero-text p{
        font-size: 16px;
    }
}

/* =======================
   MOBILE
======================= */
@media (max-width: 767px){
    .carousel-item img{
        height: 40vh;
    }

    .carousel-caption{
        align-items: center;
        padding-bottom: 8%;
        text-align: center;
    }

    .hero-text{
        justify-content: center;
        width: 100%;
    }

    .hero-section-main{
        width: 90%;
        text-align: center;
    }

    .hero-text h2{
        font-size: 24px;
        text-align: center;
    }

    .hero-text p{
        font-size: 14px;
        text-align: center;
    }

    .hero-text .button{
        display: flex;
        justify-content: center;
    }

    .hero-text .button button{
        font-size: 14px;
        padding: 10px 22px;
    }
}
