/* Benefits Page Styles */
.benefits-page{
    padding-bottom: 50px;
}

/* Utility Container */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.benefits-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #F9D084 50%, #dce8f4 50%);
    height: 900px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.page-title {
    font-size: 4rem;
    color: #0D2C54;
    margin-top: 100px;
    position: absolute;
    margin-left: -100px;
}

.page-intro {
    font-size: 2rem;
    color: #1F2F45;
    max-width: 500px;
    margin-top: -280px;
    margin-left: -100px;
}

.hero-image img {
    width: 197%;
    height: 850px;
    margin-top: 49px;
    margin-left: -650px;

}

/* Benefits Grid */
.benefits-grid-container {
    position: relative; /* Create a positioning context for the orange strip */
    width: 100%; /* Full width of the viewport */
    padding: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
    padding-top: 70px;
    padding-bottom: 70px;
}
.benefit-card-wrapper{
    position: relative;
    width: 100%;
    padding: 30px;
}

.benefit-card {
    position: relative; /* Create a positioning context */
    background: #eef2fb;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 100%; /* Full width of the viewport */
    height: 270px; /* Full height of the viewport */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add hover effects */

}

.benefit-card:hover {
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 4px 16px rgba(34, 50, 74, 0.1); /* Enhanced shadow on hover */
}

.benefit-card-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 79.2%;
    height: 92%;
    background-color: #f9a826; /* Orange color */
    transform: translate(-50%, -50%);
}

.benefit-card i {
    font-size: 1.5rem;
    color: #1F2F45;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
    color: #0D2C54;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: #4A4A4A;
    line-height: 1.5;
}

/* Call to Action */
.benefits-cta {
    display: flex;
    background: #F4F8FF;
    padding: 6rem 0;
    justify-content: space-evenly;
}

.cta-block {
    background-color: #0F3664;
    color: white;
    border-radius: 10px;
    padding: 30px;
    width: 400px;
    height: 200px;

}

.cta-block p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

.btn {
    display: block;
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary {
    background: #f8a732;
    color: #49525f;
    border: none;
}

.btn-primary:hover {
    background: #a86f12;
}

@font-face {
    font-family: "FontAwesome";
    src: url("../fonts/FontAwesome.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

.fa {
    /* pick up the font you just defined */
    font-family: "FontAwesome" !important;
    /* prevent browsers from trying to ligature or substitute characters */
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* better smoothing for WebKit and Firefox */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-size {
    height: 70px;
    width: 70px;
    color: #0D2C54;
    font-size: 70px;
    font-weight: 100 !important;
}

/* Mobile Styles for benefits.css */

/* Larger Tablets */
@media (max-width: 992px) {
    .page-title {
        font-size: 3rem !important;
        margin-left: -50px;
    }

    .page-intro {
        font-size: 1.5rem;
        margin-left: -50px;
    }

    .benefits-hero {
        height: 700px;
    }

    .hero-image img {
        height: 650px;
        margin-left: -450px;
    }

    .benefit-card {
        height: auto;
        min-height: 250px;
    }

    .icon-size {
        font-size: 60px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Hero Section */
    .benefits-hero {
        background: linear-gradient(to bottom, #F9D084 50%, #dce8f4 50%);
        height: auto;
        padding-bottom: 30px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-title {
        position: relative;
        font-size: 2.5rem !important;
        margin-left: 0;
        margin-top: 50px;
        text-align: center;
    }

    .page-intro {
        margin: 20px auto;
        font-size: 1.3rem;
        max-width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .hero-image {
        text-align: center;
    }

    .hero-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto;
    }

    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 10px;
    }

    .benefit-card-wrapper {
        padding: 20px;
    }

    .benefit-card-wrapper::before {
        width: 85%;
    }

    /* CTA Section */
    .benefits-cta {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 3rem 20px;
    }

    .cta-block {
        width: 100%;
        max-width: 450px;
        height: auto;
        padding: 25px;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .page-title {
        font-size: 2rem !important;
        margin-top: 30px;
    }

    .page-intro {
        font-size: 1.1rem;
    }

    .benefits-grid {
        gap: 20px;
        padding: 30px 0;
    }

    .benefit-card-wrapper {
        padding: 15px;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-card h3 {
        font-size: 1.1rem;
    }

    .benefit-card p {
        font-size: 0.875rem;
    }

    .icon-size {
        font-size: 50px;
        height: 50px;
    }

    .cta-block {
        padding: 20px;
    }

    .cta-block p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
    }
}

/* Extra Small Phones */
@media (max-width: 375px) {
    .page-title {
        font-size: 1.8rem !important;
    }

    .page-intro {
        font-size: 1rem;
    }

    .benefit-card-wrapper {
        padding: 10px;
    }

    .benefit-card {
        padding: 1.2rem;
    }

    .benefit-card h3 {
        font-size: 1rem;
    }

    .icon-size {
        font-size: 45px;
        height: 45px;
    }

    /* Fix any overflow issues */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
}

