/* Additional styles for the alternate landing page template */

/* Text Styling from Homepage */
.landing-page-cta-buttons h1,
.landing-page-cta-buttons h2,
.landing-page-cta-buttons h3,
.landing-page-cta-buttons h4,
.landing-page-cta-buttons h5,
.landing-page-cta-buttons h6 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    color: #1A3D53;
    margin: 0;
}

.landing-page-cta-buttons h2 {
    line-height: 1.238em;
    font-size: 22px;
    margin: 0 0 18px;
    color: #1A3D53;
    text-transform: capitalize;
}

.landing-page-cta-buttons h3 {
    line-height: 1.3em;
    font-size: 20px;
    margin: 0 0 15px;
}

.landing-page-cta-buttons p {
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.5em;
}

.landing-page-cta-buttons p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .landing-page-cta-buttons h2 {
        font-size: 26px;
        line-height: 1.2em;
    }
    
    .landing-page-cta-buttons h3 {
        font-size: 22px;
        line-height: 1.3em;
    }
    
    .landing-page-cta-buttons p {
        font-size: 16px;
        line-height: 1.5em;
    }
}

@media (min-width: 1025px) {
    .landing-page-cta-buttons h2 {
        font-size: 30px;
        line-height: 1.2em;
    }
    
    .landing-page-cta-buttons h3 {
        font-size: 24px;
        line-height: 1.3em;
    }
    
    .landing-page-cta-buttons p {
        font-size: 16px;
        line-height: 1.5em;
    }
}

/* Button Styling */
.landing-page-cta-buttons .btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 8px 20px;
    font-size: 16px;
    line-height: 1.42857143;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.landing-page-cta-buttons .btn-primary {
    color: #fff;
    background-color: #1A3D53;
    border-color: #1A3D53;
}

.landing-page-cta-buttons .btn-primary:hover,
.landing-page-cta-buttons .btn-primary:focus {
    color: #fff;
    background-color: #d4891c;
    border-color: #d4891c;
}

.landing-page-cta-buttons .btn-cta {
    padding: 6px 20px 6px 15px;
    border-radius: 0;
    display: inline-flex;
}

/* CTA Buttons Section Styling */
.landing-page-cta-buttons {
    padding: 50px 0;
    background-color: #fff;
    font-family: 'IBM Plex Sans', sans-serif;
}

.individuals-top {
    margin-top: -60px;
}

.individuals-box-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    font-family: 'IBM Plex Sans', sans-serif;
}

.individuals-box-area ul li {
    padding: 0;
    margin: 0 0 20px;
    width: 100%;
}

.individuals-box {
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.6s;
    position: relative;
    min-height: 365px;
}

@media (max-width: 767px) {
    .individuals-box {
        min-height: 310px;
    }
}

.individuals-box:hover {
    transform: translateY(-15px);
}

.individuals-box a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.landing-page-cta-buttons a {
    text-decoration: none;
}

/* Banner Subtext Styling */
.banner-subtext {
    margin-top: 15px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
    font-weight: 400;
}

@media (min-width: 768px) {
    .banner-subtext {
        font-size: 20px;
    }
}

@media (min-width: 1025px) {
    .banner-subtext {
        font-size: 22px;
    }
}

/* Form Header Styling */
.retirement-form h2 {
    margin: 0 !important;
}

@media (max-width: 767px) {
    .retirement-form h2 {
        padding: 0 !important;
    }
}

.individuals-box-div {
    position: relative;
    height: 175px;
    overflow: hidden;
}

.individuals-box-div::after {
    background: rgba(16, 54, 78, 0.6);
    background: linear-gradient(to right, rgba(16, 54, 78, 0.6) 0%, rgba(16, 54, 78, 0) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}

.individuals-img {
    position: relative;
    height: 100%;
    width: 100%;
}

.individuals-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.individuals-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 23px;
    text-align: left;
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    z-index: 999;
    padding: 0 15px;
    width: 100%;
}

.individuals-box-content {
    display: block;
    padding: 0;
}

.individuals-box-content p {
    padding: 10px 15px;
    font-size: 14px !important;
    line-height: 1.42em;
    color: #455965;
    margin: 0 0 15px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
}

.individual-box-cta {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.individual-box-cta .btn {
    padding: 6px 20px 6px 15px;
    border-radius: 0;
    display: inline-flex;
}

.individuals-box-content .btn-primary {
    background-color: #ebebeb;
    color: #333;
}

.individuals-box:hover .btn-primary {
    background-color: #d4891c;
    color: #fff;
}

.individuals-box:hover .individuals-title {
    color: #cee5f2;
}

/* Responsive styles */
@media (min-width: 768px) {
    .individuals-box-area ul li {
        width: 48%;
        margin-right: 4%;
    }
    
    .individuals-box-area ul li:nth-child(2n) {
        margin-right: 0;
    }
}

@media (min-width: 1025px) {
    .individuals-box-area ul li {
        width: 23%;
        margin-right: 2.66%;
    }
    
    .individuals-box-area ul li:nth-child(2n) {
        margin-right: 2.66%;
    }
    
    .individuals-box-area ul li:nth-child(4n) {
        margin-right: 0;
    }
}


/* Remove when we have a video */
.icon-play-circle {
    display: none;
}