﻿.hero-title{
    margin-left:auto;
    margin-right:auto;
}
th, td {
    border: 1px solid #B9B9B9;
    padding: 16px 20px;
    text-align: left;
}
td {
    color: #74747B;
    font-weight: 400;
    font-size: 14px;
}

tr:nth-child(even) {
    background-color: #E8E0DC;
}
td:nth-child(1) {
    color: #74747B;
    font-weight:700;
    font-size:14px;
}
th:nth-child(1),
td:nth-child(1),
th:nth-child(2),
td:nth-child(2),
th:nth-child(3),
td:nth-child(3) {
    border-right: none;
}

.table-righ-bo {
    border-right: 1px solid #B9B9B9 !important;
}

thead th {
    background-color: #241C4F;
    font-weight: 700;
    color: #FFFFFF;
    font-size:16px;
}
.threefield {
    background-color: #E8E0DC;
    padding: 45px 70px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
    .threefield:hover {
        transform: translateY(-5px);
        background: #241C4F;
    }
    .threefield:hover .heading-details {
        color:#E8E0DC
    }
        .threefield:hover .my-home2-svg path {
            fill: #E8E0DC;
        }

.my-home2-svg {
    height: 65px;
    width: 65px;
}
.Container-img-text {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:30px;
}
.heading-details{
    display:flex;
    align-items:center;
}
.cta-section-blue {
    background-color: #241c4f;
/*    padding: 80px 0;*/
    color: white;
    overflow: hidden;
    margin-top: 1.5rem ;
    margin-bottom: 1.5rem ;
}
.cta-section-white {
    background-color: #FFFFFF;
/*    padding: 80px 0;*/
    color: white;
    overflow: hidden;
}
.cta-title-blue {
    font-size: 40px;
    font-weight: 400;
    color: #F5F5F5;
    font-family: Afterglow;
}
.cta-description-blue {
    font-weight: 400;
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 80px;
    margin-top: 40px;
    max-width: 97%;
    margin-left: auto;
    margin-right: auto;
}
.cta-title-white {
    font-size: 40px;
    font-weight: 400;
    color: #241C4F;
    font-family: Afterglow;
}
.cta-description-grey {
    font-weight: 400;
    font-size: 20px;
    color: #595861;
    margin-bottom: 80px;
    margin-top: 40px;
    max-width: 97%;
    margin-left: auto;
    margin-right: auto;
}

.main-box-cont {
    display: flex;
    flex: 0 0 20%;
    box-sizing: border-box;
    min-width: 299px;
    transition: transform 0.3s ease;
}
    .main-box-cont:hover {
        transform: translateY(-15px);
    }

.box-cont {
    background-color: #FFFFFF;
    padding:45px 34px;
    border-radius:12px;
}
.box-cont-heading {
    font-weight: 700;
    font-size: 20px;
    color: #241C4F;
    text-align: left;
}
.box-cont-grey {
    background: #E8E0DC;
    padding: 45px 34px;
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
    width:100%;
}
    .box-cont-grey:hover {
        box-shadow: 0px 10px 8px 0px #00000040;
    }
.box-cont-white {
    background: #F5F5F5;
    padding: 45px 34px;
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
    width:100%;
}
    .box-cont-white:hover {
        box-shadow: 0px 10px 8px 0px black;
    }

.banner-column {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    position: relative;
    flex-direction: row;
    max-width: 1434px;
    margin: 0 auto;
}
.banner-image {
    width: 100%;
    max-width: 677px;
    height: auto;
    display: block;
}
.question-mark-img {
    width: 100%;
    max-width: 611px;
    height: auto;
}
.hero-card-Second {
    padding: 60px;
}
.img-home-cont {
    display: block;
}
.Conv-grey{
/*    min-width:300px !important;*/
}

/*15 years*/
.hero-nor-section {
margin-top:80px;
}
.top-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height:445px;
    border-radius: 20px;
}

/*overlap css*/
.image-stack {
    position: relative;
    /*width: 350px;*/ /* Adjust as needed */
/*    margin: 50px auto;*/
}

    .image-stack img {
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

        .image-stack img:nth-child(1) {
            position: relative;
            z-index: 2;
        }

        .image-stack img:nth-child(2) {
            position: absolute;
            top: 30%; /* adjust overlap amount */
            left: 30%; /* adjust horizontal offset */
            z-index: 1;
        }

    /* Optional: Hover effect */
    .image-stack:hover img:nth-child(1) {
        transform: translateY(-5px);
    }

.cta-section-1 {
    padding: 40px 58px;
    background-color: #241C4F;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}
.cta-text-1 {
    font-size: 20px;
    color: #FFFFFF;
}

.border-l-OR {
    border-left: 10px solid #F36C37;
}







.collage {
    position: relative;
    width: 100%;
/*    max-width: 500px;*/
    aspect-ratio: 1/1.2; /* container shape */
}

.photo1 {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
/*    box-shadow: 0 12px 24px rgba(0,0,0,.18);*/
    transition: .3s;

}
.OIMGy1 {
    background-image: url("/img/Loan-Terms/15-year/Img-Overlap-1.webp");
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 5px solid #FFFFFF !important;
    border-right: 5px solid #FFFFFF !important;
}
.OIMGy2 {
    background-image: url("/img/Loan-Terms/15-year/Img-Overlap-2.webp");
    background-size: cover;
    background-repeat: no-repeat;
}
    .photo1:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(0,0,0,.25);
    }

    .photo1 img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* <-- SHOW ENTIRE IMAGE */
        background: #fff; /* optional: white padding if image is transparent */
        display: block;
    }

/* ---- SAME SQUARE SIZE ---- */
.family-photo1,
.house-photo1 {
    width: 70%; /* same width */
    aspect-ratio: 1/1; /* forces square → same height */
}

.family-photo1 {
    top: 0;
    left: 0;
    z-index: 2;
}

.house-photo1 {
    bottom: 10%;
    right: 0;
    z-index: 1;
}

.Privacy-Description .Privacy-Main-H {
    color: #595861;
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
}
.Privacy-Description .Privacy-Sub-H {
    color: #595861;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
}
.Privacy-Sub-H-Span {
    font-weight: 600;
}
.Privacy-Description p {
    color: #595861;
    font-size: 18px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
}
.Privacy-Contact {
    color: #595861;
    font-size: 18px;
    font-weight: 400;
}
.Privacy-Description li {
    color: #595861;
    font-size: 18px;
    font-weight: 400;
}

.Cont-Or {
    color: #F36C37;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    cursor: pointer;
}
.Cont-Ter {
    color: #595861;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    cursor: pointer;
}

@media(max-width:1100px) {
    .hero-nor-section{
        margin-top:60px;
    }
}
@media(max-width:992px) {
    .Img-Ov{
        width:70%;
    }
}

@media (max-width: 1040px) {
    .hero-section{
        height:auto !important;
    }
    .banner-column {
        flex-direction: column;
        padding: 1rem 0;
        justify-items: center;
        align-items: center;
        text-align: center;
        gap: 0;
    }
    .img-home-cont{
        display:flex;
        justify-content:center;
    }
    .banner-image {
        width: 60%;
    }
}
@media (max-width: 768px) {
    .cta-text-1{
        font-size:17px;
    }
    .hero-card-Second {
        padding: 0 30px;
    }
    .banner-image{
        width:50%;
    }
    .threefield {
        padding: 37px 60px;
    }

    .box-cont {
        padding: 40px 30px;
    }

    .box-cont-grey {
        padding: 40px 30px;
    }

    .box-cont-heading {
        font-size: 18px;
    }
    .cta-title-blue {
        font-size: 30px;
    }

    .cta-title-white {
        font-size: 30px;
    }
    .cta-description-blue {
        font-size: 17px;
    }

    .cta-description-grey {
        font-size: 17px;
    }
}

@media (max-width:576px){
    .cta-text-1 {
        font-size: 14px;
    }
    .my-home2-svg{
        height:50px;
        width:50px;
    }
    .cta-title-blue {
        font-size: 24px;
    }

    .cta-title-white {
        font-size: 24px;
    }
    .cta-description-blue {
        font-size: 14px;
        margin-top: 25px;
        margin-bottom: 40px;
    }

    .cta-description-grey {
        font-size: 14px;
        margin-top: 25px;
        margin-bottom: 40px;
    }
    .threefield {
        padding: 29px 50px;
    }

    .box-cont {
        padding: 35px 25px;
    }

    .box-cont-heading {
        font-size: 14px;
        margin-bottom: 7px;
    }

    .box-cont-grey {
        padding: 35px 25px;
    }
}

@media(min-width:768px){
    .width-conta {
        min-width: 495px !important;     
    }
}