* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

    /* border: solid 1px white; */
}

.main {
    background: url(Images/bg.jpg);
    background-size: cover;

}


img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
}

.hero-container {
    display: grid;
    grid-template-columns: 2fr 6fr 2fr;
    align-items: stretch;
    width: 100%;
    background: url(Images/Banner-background.png);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-image-left {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    height: 100%;

}

.bg-left-1 {
    grid-row: 1/-1;
    grid-column: 1/-1;
    
}

.bg-left-2 {
    grid-row: 1/-1;
    grid-column: 1/4;

}

.bg-left-3 {
    grid-row: 1/-1;
    grid-column: 1/-1;
    z-index: 2;
    align-self: end;
}

.hero-image-right {
    position: relative;
    display: grid;
    overflow: hidden;
    height: 100%;
    transform: translate(20%, 0);
}

.bg-right-1 {
    width: 163%;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 3%;
}

.logo {
    width: 30%;
    margin: 0 auto ;
    padding-top: 4%;
}

.content {
    /* padding-top: 2%; */
    /* margin: 0 auto 5% auto; */
    width: 100%;
}

.text-title{
    display: block;
}
.text-title-ref{
    display: none;
}
.hero {
    margin: 0 auto;
    width: 117%;
    transform: translate(-7%);
}

.title {
    width: clamp(10%, 100%, 1200px);
    margin: 0 auto;

}

.main-container .title-1 {
    width: clamp(10%, 56%, 900px);
}
.main-container .title-2 {
    width: clamp(10%, 68%, 1000px);
}


.text {
    font-size: clamp(0.3rem, 3.6vw, 27px);
    width: clamp(10%, 90%, 900px);
    text-align: justify;
    margin: 3% auto 0 auto;
    line-height: 1.25;
    font-family: '', sans-serif;
    font-weight: 400;
    font-style: italic;
    padding-bottom: 1%;
    letter-spacing: 0.02em;
    color: white;
}

.hero .text {
    width: clamp(10%, 85%, 850px);
    margin: 0 auto;
    margin-bottom: 7%;
}

.text span {
    font-weight: 700;
    font-style: normal;
}

.flex-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    align-items: center;
    gap: 2rem;
    padding: 1% 3%;
}

.flex-content>* {
    flex: 1;
    padding: 0;
    margin: 0;
    line-height: 1.4;
}

.img-1 {
    margin: 5% auto;
    width: clamp(10%, 70%, 950px);

}

.img-2 {
    margin: 6% auto 0 auto;
    width: clamp(10%, 95%, 1300px);
}
.img-3 {
    margin: 10% auto 0 auto;
    width: clamp(10%, 100%, 100%);
}


.main-container .logo {
    padding-top: 5%;
    width: 25%;

}


@media (max-width:768px) {
    /* .hero-image-left,.hero-image-right{
        position: absolute;
    }
    .hero-image-left .bg-left-1{
        width: 100%;
    } */
    .text-title{
        display: none;
    }
    .text-title-ref{
        display: block;
    }
    .hero .logo{
        padding: 12% 0 0% 0;
    }
    .hero{
        transform: translateX(-8%);
        gap: 0.7rem;
    }

    .flex-content {
        flex-direction: column;
        width: 100%;
        gap: 1.2rem;
        padding: 0;
    }
    .flex-content .text{
        margin-bottom: 2%;
    }

    .text {
        margin-bottom: 5%;
    }

    .img-flex,
    .img-1 {
        margin: 3% auto 0 auto;
        width: clamp(10%, 90%, 1000px);
    }
    .title-2{
        padding: 0.6rem 0;
    }

    .content {
        margin: 0 auto;
    }

}

@media (max-width:576px) {
    
    .main-container .logo{
        padding: 5% 0 2% 0;
    }
}

.hero-image-left figure,
.hero-image-right figure {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 1.2s ease;
}

.hero-image-left figure {
    transform: translateX(-120px);
}

.hero-image-right figure {
    transform: translateX(120px);
}

.anim-title-hero,
.anim-text-hero {
    opacity: 0;
    transform: translateY(40px);
    transition: transform 1s ease, opacity 1s ease;
}
.hero-container.hero-animate .hero-image-left .bg-left-1{
    opacity: 1;
    transform: translate(-15%,-4%) rotate(5deg);
}
.hero-container.hero-animate .hero-image-left .bg-left-2{
    opacity: 1;
    transform: translateX(-22%);
}
.hero-container.hero-animate .hero-image-left .bg-left-3{
    opacity: 1;
        transform: translate(1%, 0)
}
.hero-container.hero-animate .hero-image-right figure {
    opacity: 1;
    transform: translateX(0);
}
.hero-container.hero-animate .bg-left-1 { transition-delay: 0.1s; }
.hero-container.hero-animate .bg-left-2 { transition-delay: 0.25s; }
.hero-container.hero-animate .bg-left-3 { transition-delay: 0.4s; }
.hero-container.hero-animate .bg-right-1 {
    transition-delay: 0.3s;
}
.hero-container.hero-animate .anim-title-hero {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}
.hero-container.hero-animate .anim-text-hero {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

.anim-img,
.anim-fade,
.anim-stagger>* {
    opacity: 0;
}
.anim-title,
.anim-text{
opacity: 0;
    transform: translateY(40px);
    transition: transform 1s ease, opacity 1s ease;
}

.anim-title.animate,
.anim-text.animate {
        opacity: 1;
    transform: translateX(0);
}

@keyframes imgReveal {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-img.animate {
    animation: imgReveal 1.6s ease-out forwards;
}

@keyframes fadeUpSmall {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-stagger>*.animate {
    animation: fadeUpSmall 1s ease-out forwards;
}

.anim-stagger>*:nth-child(1).animate {
    animation-delay: 0.15s;
}

.anim-stagger>*:nth-child(2).animate {
    animation-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}