/* =====================
    Banner
   ===================== */
.banner-wrapper {
    width: 100%;
    height: 350px;
    position: relative;
}
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../img/homepage/lifeinsurance-banner-m.png") no-repeat
        0 center/120%;
    animation: zoomOutBg 1.5s ease forwards;
}
.inner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.inner-content.top-60 {
    top: 60%;
}
.kwi-company {
    font-size: 22px;
    color: white;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
}
.heading-1 {
    font-size: 34px;
    color: white;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
}
.btn-main {
    margin: 20px auto 0;
}
.btn-main-text {
    font-weight: bold;
    letter-spacing: 0.01rem;
}
/* =====================
    content 1
   ===================== */
.content-wrapper {
    padding: 40px 0;
    background-color: white;
}
.content-wrapper p {
    text-align: justify;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #133957;
}
.heading-3 {
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    font-size: 22px;
    color: #030f20;
    margin-bottom: 30px;
}
.heading-3 .break-word {
    display: none;
}
.para-1 {
    font-size: 14px;
    color: #808f9a;
}
.para-1 .uppercase {
    text-transform: uppercase;
}
.para-1 .break-word-md {
    display: none;
}
/* =====================
    content 2
   ===================== */
.product-wrapper {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr;
}
.product-card {
    padding: 20px;
}
.product-img img {
    width: 100%;
}
.product-content {
    padding: 20px 20px 10px;
    border-left: 1px solid #d9dee2;
}
.product-title {
    font-size: 24px;
    text-transform: uppercase;
    color: #133957;
}
.product-title::after {
    content: "";
    width: 12px;
    height: 12px;
    margin-left: 10px;
    margin-bottom: 10px;
    display: inline-block;
    background: url("../img/utilities/visit-url.png") no-repeat center center /
        100%;
}
.product-detail {
    color: #808f9a;
    font-size: 14px;
}
.product-list {
    padding-left: 1rem;
    margin: 20px 0 0;
}
.product-list li {
    color: #b32225;
    line-height: 1.5rem;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    font-size: 13px;
}
.product-list .lightcolor {
    color: #050f1f;
    text-transform: uppercase;
}
.img-wrapper {
    width: 100%;
    height: 150px;
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}
.text-wrapper {
    padding: 30px 20px;
    background-color: #f2f3f4;
}
.text-wrapper h3 {
    font-size: 22px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #030f20;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.05rem;
}
.text-wrapper .scroll-content {
    /* max-height: 150px;
    overflow-y: auto; */
    margin-bottom: 20px;
}
.text-wrapper .scroll-content p {
    font-size: 16px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #808f9a;
}
.text-wrapper .link {
    font-size: 13px;
    font-family: Karla, Arial, Helvetica, sans-serif;
    color: #a5312d;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.01rem;
}
.text-wrapper .link::after {
    content: '';
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-bottom: -2px;
    background: url('../img/utilities/arr-right-blue.png') no-repeat center center / 100%;
    opacity: 0;
    transition: all 0.3s ease;
}
.text-wrapper .link:hover {
    color: #030f20;
}
.text-wrapper .link:hover::after {
    opacity: 1;
    margin-left: 5px;
}
/* =====================
    content 3
   ===================== */
.fluid-style {
    background-color: #426179;
    height: 450px;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}
.content-header {
    margin-bottom: 20px;
}
.para-title {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.heading5 {
    font-size: 18px;
    color: white;
    font-family: Karla, Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin-bottom: 15px;
}
.para-2 {
    font-size: 14px;
    color: #eee;
}
.para-3 {
    font-size: 10px;
    color: white;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: bold;
}
.para-3.light {
    font-weight: normal;
    margin-bottom: 10px;
}
.para-3.fax::before,
.para-3.email::before {
    content: "";
    width: 12px;
    height: 12px;
    display: inline-block;
    background: url("../img/utilities/fax-white.png") no-repeat center center /
        100%;
    margin-right: 10px;
    margin-bottom: -2px;
}
.para-3.email::before {
    background: url("../img/utilities/email-white.png") no-repeat center center /
        100%;
}
.para-4 {
    font-size: 11px;
    color: white;
    margin-bottom: 20px;
}
.para-4.mb-less {
    margin-bottom: 10px;
}
.content-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.heading6 {
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.05rem;
    margin-bottom: 10px;
}
.heading6.bold {
    font-weight: bold;
}
.heading6.bold::before {
    background: none;
    display: none;
}
.heading6::before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background: url("../img/utilities/phone-white.png") no-repeat center center /
        100%;
    margin-right: 10px;
}
.contact-form,
.kwi-container {
    display: block;
}
.contact-form {
    padding: 15px 0px;
}
/* =================
    content 4
   ================= */
.img-wrapper img.img-3 {
    object-position: 50% 0;
}
.wrapper-img {
    width: 100%;
    height: 250px;
    position: relative;
}
.wrapper-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wrapper-img .inner-content {
    padding: 20px;
    text-align: center;
}
.wrapper-img::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(3, 15, 32, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.wrapper-img:hover::before {
    opacity: 1;
}

.text-wrapper.dark {
    word-wrap: break-word;
    background-color: #426179;
}
.text-wrapper.dark .content-1 {
    margin-bottom: 30px;
}
.text-wrapper.dark .font-sm,
.text-wrapper.dark .font-md {
    font-size: 14px;
    color: #eee;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
}
.text-wrapper.dark .font-sm.upper {
    text-transform: uppercase;
}

.text-wrapper.dark .font-sm.font-bold,
.text-wrapper.dark .font-md.font-bold {
    font-weight: bold;
}
.text-wrapper.dark .font-sm.capitalize,
.text-wrapper.dark .font-md.capitalize {
    text-transform: capitalize;
}
.text-wrapper.dark .font-sm.contact-phone::before,
.text-wrapper.dark .font-sm.fax-icon::before,
.text-wrapper.dark .font-sm.mail-icon::before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: 10px;
    background: url("../img/utilities/phone-white.png") no-repeat center center /
        100%;
}
.text-wrapper.dark .font-sm.fax-icon::before {
    background: url("../img/utilities/fax-white.png") no-repeat center center /
        100%;
}
.text-wrapper.dark .font-sm.mail-icon::before {
    background: url("../img/utilities/email-white.png") no-repeat center center /
        100%;
}
.text-wrapper.dark h4 {
    color: white;
    font-size: 22px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    text-transform: capitalize;
    line-height: 1.8rem;
    margin-bottom: 10px;
}
.text-wrapper.dark .font-md {
    font-size: 18px;
    text-transform: capitalize;
    line-height: 1.5rem;
}
.form-label {
    font-size: 16px;
    text-transform: uppercase;
}
.form-input {
    border: none;
    border-bottom: 1px solid #d9dee2;
    width: 100%;
    height: 50px;
}
.form-input:focus {
    outline: none;
}
.form-input::placeholder {
    color: #bbb;
}
.content-1 {
    width: 100%;
}
.select2-selection__placeholder {
    text-transform: capitalize;
}
.select2-selection--single {
    border-color: #d9dee2 !important;
}
.submit-btn {
    background-color: white;
    border: 1px solid #a5312d;
    width: 130px;
    text-transform: uppercase;
    color: #b32225;
    font-size: 14px;
    padding: 5px 10px;
    font-family: Karla, Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin: 20px 0;
    transition: background-color 0.3s ease;
}
.submit-btn:hover {
    color: white;
    background-color: #b32225;
}
.kwi-heading {
    font-size: 24px;
    color: white;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    text-transform: uppercase;
    text-decoration: none;
}
.kwi-heading:hover {
    color: white;
}
@media screen and (min-width: 768px) {
    .banner-bg {
        background: url("../img/homepage/lifeinsurance-banner.png") no-repeat center center/150%;
        animation: zoomOutBg2 1.5s ease forwards;
    }
    .kwi-company {
        font-size: 15px;
    }
    .heading-1 {
        font-size: 50px;
    }
    .btn-main {
        display: flex;
    }
    .heading-3 {
        letter-spacing: 0.05rem;
    }
    .heading-3 .break-word {
        display: block;
    }
    .content-wrapper {
        padding: 50px 20px 30px;
    }
    .para-1 .break-word {
        display: none;
    }
    .product-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .product-card {
        padding: 0;
        margin-bottom: 20px;
    }
    .btn-main {
        height: 50px;
    }
    .img-wrapper {
        height: 100%;
    }
    .img-wrapper img {
        object-position: 0;
    }
    .img-wrapper .img-1 {
        object-position: 20%;
    }
    .product-content {
        min-height: 327px;
    }
    .fluid-style {
        height: 300px;
    }
    .contact-form {
        display: block;
        padding: 50px 40px;
        max-width: 900px;
        margin: 0 auto;
    }
    .heading-2 {
        font-size: 40px;
        font-family: "Kaisei Opti", "Times New Roman", Times, serif;
        color: #030f20;
        margin-bottom: 30px;
    }
    .form-label {
        font-size: 15px;
        text-transform: uppercase;
        color: #133957;
        letter-spacing: 0.05rem;
    }
    .kwi-container {
        display: block;
        overflow: hidden;
    }
    .wrapper-img {
        width: 100%;
        height: 170px;
        position: relative;
    }
    .kwi-product {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .kwi-para {
        font-size: 12px;
        color: white;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 5px;
    }
    .kwi-heading {
        font-size: 18px;
        color: white;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 0;
    }
    .submit-btn {
        height: 38px;
        width: 100px;
        margin: 5px 0;
    }
    .wrapper-1 {
        display: flex;
    }
    .text-wrapper.dark {
        height: 100%;
    }
}
@media screen and (min-width: 992px) {
    .banner-bg {
        animation: zoomOutBg3 1.5s ease forwards;
    }
}
@media screen and (min-width: 1024px) {
    .banner-wrapper {
        height: 390px;
    }
    .product-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
        margin-bottom: 40px;
    }
    .product-wrapper {
        grid-gap: 5px;
    }
    .product-detail .break-word {
        display: none;
    }
    .para-1 .break-word-md {
        display: block;
    }
    .product-content {
        padding: 20px 15px 10px;
    }
    .content-flex {
        display: flex;
        justify-content: space-between;
    }
    .content-body {
        width: 480px;
    }
    .fluid-style {
        height: 220px;
        align-items: center;
    }
    .contact-form {
        padding: 50px 100px;
    }
    .kwi-heading {
        font-size: 24px;
    }
    .form-select,
    .form-input {
        width: 100%;
    }
    .form-select {
        margin-right: 30px;
    }
    .contact-form {
        padding: 80px 100px;
    }
    .contact-form .more-p {
        padding: 0 30px;
        margin-bottom: 30px !important;
    }
    .heading-2 {
        padding: 0 15px;
    }
    .submit-btn {
        margin: 30px 15px 0;
    }
    .wrapper-img {
        height: 210px;
    }
}
@media screen and (min-width: 1200px) {
    .banner-wrapper {
        height: 460px;
    }
    .content-wrapper p {
        font-size: 18px;
    }
    .btn-main {
        margin-top: 50px;
    }
    .content-wrapper {
        width: fit-content;
        margin: 0 auto;
    }
    .text-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .text-wrapper.dark {
        justify-content: flex-start;
    }
    .text-wrapper.dark .font-sm {
        font-size: 18px;
    }
    .text-wrapper.dark .font-md {
        font-size: 22px;
    }
    .product-content {
        padding: 20px 35px 10px;
    }
    .content-body {
        width: 580px;
        grid-template-columns: 0.6fr 1fr;
    }
    .wrapper-img {
        height: 250px;
    }
    .fluid-style {
        height: 240px;
    }
    .contact-form {
        max-width: 1200px;
    }
    .contact-form .more-p {
        padding: 0 60px;
    }
    .heading-2 {
        padding: 0 42px;
    }
    .submit-btn {
        margin: 30px 48px 0;
    }
    .text-wrapper .form-title {
        font-size: 36px;
    }
    .text-wrapper .scroll-content p,
    .form-label {
        font-size: 18px;
    }
    .submit-btn {
        width: 120px;
        height: 45px;
    }
    .text-wrapper.dark .font-sm.contact-phone::before,
    .text-wrapper.dark .font-sm.fax-icon::before,
    .text-wrapper.dark .font-sm.mail-icon::before {
        width: 15px;
        height: 15px;
    }
}
@media screen and (min-width: 1400px) {
    .banner-wrapper {
        height: 500px;
    }
    .wrapper-img {
        height: 280px;
    }
    .text-wrapper {
        padding: 8% 12%;
    }
    .text-wrapper .scroll-content {
        max-height: 270px;
        overflow: hidden;
    }
    .text-wrapper .form-title {
        font-size: 40px;
    }
}
@media screen and (min-width: 1600px) {
    .wrapper-img {
        height: 350px;
    }
}

#content-1,
#content-2,
#content-3,
#content-4,
#content-5,
#content-6 {
    opacity: 0;
}
#content-1 {
    animation: fadeup 0.8s ease forwards;
}

@keyframes zoomOutBg {
    0% {
        background-size: 150%;
    }
    100% {
        background-size: 105%;
    }
}
@keyframes zoomOutBg2 {
    0% {
        background-size: 190%;
    }
    100% {
        background-size: 140%;
    }
}
@keyframes zoomOutBg3 {
    0% {
        background-size: 160%;
    }
    100% {
        background-size: 110%;
    }
}
@keyframes fadeup {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
