/* =======================================
   HERO SECTION
======================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;

   background:
    linear-gradient(
        90deg,
        rgba(7, 32, 74, .72) 0%,
        rgba(7, 32, 74, .55) 40%,
        rgba(7, 32, 74, .30) 70%,
        rgba(7, 32, 74, .10) 100%
    ),
    url("/assets/images/hero.jpeg");

background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 32, 74, 0.88) 0%,
        rgba(7, 32, 74, 0.70) 45%,
        rgba(7, 32, 74, 0.45) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;

    width: min(1200px, 92%);
    margin: 0 auto;
}

.hero-content {
    max-width: 650px;

    display: flex;
    flex-direction: column;
    gap: 1.75rem;

    color: #ffffff;
}

.hero-tag {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    padding: .7rem 1.3rem;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;

    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);

    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-content h1 {

    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 800;

    margin: 0;
}

.hero-content p {

    max-width: 600px;

    font-size: 1.15rem;
    line-height: 1.9;

    color: rgba(255,255,255,.88);

    margin: 0;
}

.hero-buttons {

    display: flex;
    align-items: center;
    gap: 1rem;

    flex-wrap: wrap;

    margin-top: .5rem;
}

.hero-buttons .btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 200px;

    padding: 1rem 2rem;

    border-radius: 10px;

    font-size: 1rem;
    font-weight: 600;

    text-decoration: none;

    transition: .35s ease;
}

.hero-buttons .btn-primary {

    background: #ffffff;
    color: #07204A;
}

.hero-buttons .btn-primary:hover {

    transform: translateY(-3px);

    background: #f3f6fb;
}

.hero-buttons .btn-secondary {

    background: transparent;

    color: #ffffff;

    border: 2px solid rgba(255,255,255,.45);
}

.hero-buttons .btn-secondary:hover {

    background: rgba(255,255,255,.12);

    border-color: #ffffff;

    transform: translateY(-3px);
}

/* =======================================
   Responsive
======================================= */

@media (max-width: 992px) {

    .hero {

        min-height: 90vh;

        text-align: center;
    }

    .hero-content {

        margin: 0 auto;
        align-items: center;
    }

    .hero-content p {

        max-width: 100%;
    }

    .hero-buttons {

        justify-content: center;
    }
}

@media (max-width: 768px) {

    .hero {

        min-height: 85vh;
    }

    .hero-content {

        gap: 1.4rem;
    }

    .hero-content h1 {

        font-size: clamp(2.2rem, 9vw, 3.4rem);
    }

    .hero-content p {

        font-size: 1rem;
        line-height: 1.8;
    }

    .hero-buttons {

        width: 100%;
        flex-direction: column;
    }

    .hero-buttons .btn {

        width: 100%;
        max-width: 350px;
    }
}






/*=========================================
TRUST STORY
=========================================*/

.trust-story{
    position: relative;
    height: 700px;
    overflow: hidden;
}

.trust-story img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.trust-story:hover img{
    transform: scale(1.05);
}

/*=========================================
OVERLAY
=========================================*/

.story-overlay{
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7,32,74,.88) 0%,
        rgba(7,32,74,.65) 45%,
        rgba(7,32,74,.18) 100%
    );
}

/*=========================================
CONTAINER
=========================================*/

.trust-story .container{
    position: absolute;
    inset: 0;

    width: min(1200px, 92%);
    margin: auto;

    display: flex;
    align-items: center;

    z-index: 10;
}

/*=========================================
CONTENT
=========================================*/

.story-content{
    max-width: 650px;
}

.story-content .section-tag{
    color: #D4AF37;
    border-color: rgba(255,255,255,.25);
}

.story-content h2{
    margin: 1.5rem 0;

    color: #ffffff;

    font-size: clamp(2.8rem, 5vw, 4.5rem);

    line-height: 1.1;
}

.story-content p{
    margin-bottom: 2.5rem;

    color: rgba(255,255,255,.88);

    font-size: 1.1rem;

    line-height: 2;
}

.story-content .btn{
    display: inline-flex;
    align-items: center;
    gap: .8rem;
}

.story-content .btn i{
    transition: .3s;
}

.story-content .btn:hover i{
    transform: translateX(6px);
}

/*=========================================
TABLET
=========================================*/

@media (max-width: 992px){

    .trust-story{
        height: 600px;
    }

    .story-content{
        max-width: 560px;
    }

    .story-content h2{
        font-size: 3rem;
    }

}

/*=========================================
MOBILE
=========================================*/

@media (max-width: 768px){

    .trust-story{
        height: 620px;
    }

    .story-overlay{
        background: rgba(7,32,74,.82);
    }

    .trust-story .container{
        width: 90%;
        justify-content: center;
        text-align: center;
    }

    .story-content{
        max-width: 100%;
    }

    .story-content h2{
        font-size: 2.4rem;
        line-height: 1.2;
        margin: 1rem 0;
    }

    .story-content p{
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    .story-content .btn{
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

}

/*=========================================
SMALL PHONES
=========================================*/

@media (max-width: 480px){

    .trust-story{
        height: 560px;
    }

    .story-content h2{
        font-size: 2rem;
    }

    .story-content p{
        font-size: .95rem;
    }

}





/*=========================================
TESTIMONIALS
=========================================*/

.testimonials{
    padding: 7rem 0;
    background: #ffffff;
}

.testimonials .container{
    width: min(1100px, 92%);
    margin: 0 auto;
}

/*=========================================
SECTION HEADING
=========================================*/

.testimonials .section-heading{
    max-width: 720px;
    margin: 0 auto 4rem;
    text-align: center;
}

.testimonials .section-heading h2{
    margin: 1rem 0;
    color: #07204A;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.testimonials .section-heading p{
    color: #667085;
    line-height: 1.9;
    font-size: 1.05rem;
}

/*=========================================
TESTIMONIAL
=========================================*/

.testimonial-wrapper{
    max-width: 850px;
    margin: 0 auto;
    text-align: center;

    transition: opacity .45s ease,
                transform .45s ease;
}

.testimonial-wrapper.fade-out{
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-wrapper.fade-in{
    opacity: 1;
    transform: translateY(0);
}

/*=========================================
STARS
=========================================*/

.stars{
    display: flex;
    justify-content: center;
    gap: .35rem;
    margin-bottom: 2rem;
}

.stars i{
    color: #D4AF37;
    font-size: 1.1rem;
}

/*=========================================
QUOTE
=========================================*/

.testimonial blockquote{
    margin: 0 auto 2.5rem;

    max-width: 760px;

    color: #07204A;

    font-size: clamp(1.5rem, 2vw, 2rem);

    line-height: 1.7;

    font-weight: 500;
    font-style: italic;
}

/*=========================================
AUTHOR
=========================================*/

.testimonial-author h4{
    color: #07204A;
    font-size: 1.2rem;
    margin-bottom: .35rem;
}

.testimonial-author span{
    color: #667085;
    font-size: .95rem;
    letter-spacing: .3px;
}

/*=========================================
DOTS
=========================================*/

.testimonial-dots{
    display: flex;
    justify-content: center;
    gap: .8rem;
    margin-top: 3rem;
}

.testimonial-dot{
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #d8dee8;

    cursor: pointer;

    transition: .3s ease;
}

.testimonial-dot:hover{
    background: #7b91b8;
}

.testimonial-dot.active{
    width: 34px;
    border-radius: 50px;
    background: #183261;
}

/*=========================================
RESPONSIVE
=========================================*/

@media (max-width:768px){

    .testimonials{
        padding: 5rem 0;
    }

    .testimonial blockquote{
        font-size: 1.2rem;
        line-height: 1.8;
    }

    .testimonial-author h4{
        font-size: 1.1rem;
    }

}