/* =========================================================
   VIRANI INSURANCE
   SAVINGS PLAN PAGE
   Cleaned & simplified version
   Navbar styling is handled by style.css
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: #4b5563;
    background: #ffffff;
    line-height: 1.75;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}


/* =========================================================
   PAGE CONTAINER
   Used only for elements that specifically use .page-container
========================================================= */

.page-container {
    width: calc(100% - 40px);
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   SECTION CONTAINERS
   MAIN SIDE-SPACING CONTROL

   Desktop:
   Maximum content width = 1600px
   Minimum side gap = 20px

   This does NOT affect navbar.
========================================================= */

.savings-hero > .container,
.saving-hero > .container,
.content-section > .container,
.savings-disclaimer > .container,
.saving-disclaimer > .container,
.footer-section > .container {
    width: calc(100% - 40px) !important;
    max-width: 1600px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* =========================================================
   SAVINGS HERO
========================================================= */

.savings-hero,
.saving-hero {
    position: relative;

    min-height: 690px;

    padding: 105px 0 65px;

    overflow: hidden;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f4f9ff 100%
    );
}


/* =========================================================
   DECORATIVE CIRCLE
========================================================= */

.savings-hero::after,
.saving-hero::after {
    content: "";

    position: absolute;

    top: -80px;
    right: -80px;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background: rgba(59, 130, 246, 0.07);

    pointer-events: none;
}


/* =========================================================
   HERO ROW
========================================================= */

.savings-hero .hero-row,
.saving-hero .hero-row {
    min-height: 500px;

    align-items: center;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.savings-hero .hero-content,
.saving-hero .hero-content {
    position: relative;

    z-index: 3;

    padding-right: 15px;
}


/* =========================================================
   HERO BADGE
========================================================= */

.savings-badge,
.saving-badge,
.retirement-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 22px;

    padding: 9px 17px;

    border: 1px solid #d5e6ff;

    border-radius: 50px;

    background: #edf5ff;

    color: #2878ef;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.4;
}

.savings-badge i,
.saving-badge i,
.retirement-badge i {
    color: #3b82f6;

    font-size: 15px;
}


/* =========================================================
   HERO H1
========================================================= */

.savings-hero h1,
.saving-hero h1 {
    max-width: 720px;

    margin: 0 0 24px;

    color: #111827;

    font-size: clamp(46px, 4.15vw, 64px);

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -1.7px;
}


/* =========================================================
   BLUE PART OF HEADING
========================================================= */

.savings-hero h1 span,
.saving-hero h1 span {
    color: #2878ef;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.savings-hero h3,
.saving-hero h3 {
    max-width: 700px;

    margin: 0;

    color: #49627f;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.75;
}


/* =========================================================
   HERO BUTTON AREA
========================================================= */

.hero-actions {
    margin-top: 27px;
}


/* =========================================================
   HERO PRIMARY BUTTON
========================================================= */

.hero-primary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 47px;

    padding: 0 25px;

    border: 0;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #f97316,
        #fb923c
    );

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 12px 27px rgba(249, 115, 22, 0.20);

    transition: 0.3s ease;
}

.hero-primary-btn:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 15px 32px rgba(249, 115, 22, 0.26);
}


/* =========================================================
   HERO IMAGE AREA
========================================================= */

.hero-visual {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   HERO IMAGE WRAPPER
========================================================= */

.hero-photo-wrap {
    position: relative;

    width: 485px;
    height: 485px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================================
   HERO IMAGE OUTER RING
========================================================= */

.hero-photo-ring {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 485px;
    height: 485px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(59, 130, 246, 0.09);

    z-index: 1;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-photo {
    position: relative;

    z-index: 2;

    width: 435px;
    height: 435px;

    padding: 9px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 20px 50px rgba(30, 58, 138, 0.14);

    object-fit: cover;

    object-position: center;
}


/* =========================================================
   CONTENT SECTIONS
========================================================= */

.content-section {
    padding: 78px 0;

    background: #ffffff;
}


/* =========================================================
   LIGHT BLUE SECTION
========================================================= */

.soft-section {
    background: #f7fbff;
}


/* =========================================================
   CONTENT
========================================================= */

.narrow-content {
    width: 100%;

    max-width: none;
}


/* =========================================================
   SECTION H2
========================================================= */

.narrow-content h2 {
    margin: 0 0 29px;

    color: #111827;

    font-size: 40px;

    font-weight: 800;

    line-height: 1.22;

    letter-spacing: -0.8px;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

.narrow-content p {
    width: 100%;

    max-width: none;

    margin: 0 0 22px;

    color: #4b5563;

    font-size: 16.5px;

    font-weight: 400;

    line-height: 1.85;

    text-align: left;
}


/* =========================================================
   LISTS
========================================================= */

.content-list {
    width: 100%;

    margin: 0 0 25px;

    padding-left: 25px;
}

.content-list li {
    margin-bottom: 17px;

    padding-left: 5px;

    color: #4b5563;

    font-size: 16.5px;

    line-height: 1.85;

    text-align: left;
}

.content-list li:last-child {
    margin-bottom: 0;
}

.content-list strong {
    color: #183b60;

    font-weight: 700;
}


/* =========================================================
   NUMBERED LISTS
========================================================= */

.content-list.numbered {
    padding-left: 30px;
}


/* =========================================================
   FINAL CTA BUTTON
========================================================= */

.final-button {
    margin: 30px 0;
}

.final-button .btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 47px;

    padding: 0 25px;

    border: 0;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #f97316,
        #fb923c
    );

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 12px 27px rgba(249, 115, 22, 0.20);

    transition: 0.3s ease;
}

.final-button .btn-primary:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 15px 32px rgba(249, 115, 22, 0.26);
}


/* =========================================================
   FAQ
========================================================= */

.retirement-faq,
.savings-faq,
.saving-faq {
    width: 100%;
}

.retirement-faq details,
.savings-faq details,
.saving-faq details {
    padding: 20px 0;

    border-bottom: 1px solid #e3ebf5;
}

.retirement-faq details:first-child,
.savings-faq details:first-child,
.saving-faq details:first-child {
    border-top: 1px solid #e3ebf5;
}

.retirement-faq summary,
.savings-faq summary,
.saving-faq summary {
    position: relative;

    padding-right: 45px;

    cursor: pointer;

    list-style: none;

    color: #16395e;

    font-size: 16.5px;

    font-weight: 700;

    line-height: 1.6;
}

.retirement-faq summary::-webkit-details-marker,
.savings-faq summary::-webkit-details-marker,
.saving-faq summary::-webkit-details-marker {
    display: none;
}

.retirement-faq summary::after,
.savings-faq summary::after,
.saving-faq summary::after {
    content: "+";

    position: absolute;

    top: 0;
    right: 5px;

    color: #3b82f6;

    font-size: 24px;

    font-weight: 400;
}

.retirement-faq details[open] summary::after,
.savings-faq details[open] summary::after,
.saving-faq details[open] summary::after {
    content: "−";
}

.retirement-faq details p,
.savings-faq details p,
.saving-faq details p {
    margin: 16px 0 0;

    padding-right: 35px;

    color: #4b5563;

    font-size: 15.5px;

    line-height: 1.8;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.retirement-disclaimer,
.savings-disclaimer,
.saving-disclaimer {
    padding: 48px 0;

    background: #ffffff;

    border-top: 1px solid #e3ebf5;
}

.retirement-disclaimer p,
.savings-disclaimer p,
.saving-disclaimer p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   FOOTER
========================================================= */

.footer-section {
    padding: 65px 0 20px;

    background: #0f172a;

    color: #cbd5e1;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
}

.footer-section h3 {
    margin: 0 0 17px;

    font-size: 23px;

    font-weight: 700;
}

.footer-section h4 {
    margin: 0 0 18px;

    font-size: 17px;

    font-weight: 700;
}


/* =========================================================
   FOOTER ABOUT
========================================================= */

.footer-about p {
    max-width: 500px;

    margin: 0;

    color: #94a3b8;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links ul {
    margin: 0;

    padding: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;

    color: #94a3b8;

    font-size: 14px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #94a3b8;

    transition: 0.25s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact p {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 13px;

    color: #94a3b8;

    font-size: 14px;
}

.footer-contact i {
    color: #3b82f6;
}

.footer-contact a {
    color: #94a3b8;
}

.footer-contact a:hover {
    color: #60a5fa;
}


/* =========================================================
   FOOTER SOCIAL
========================================================= */

.footer-social {
    display: flex;

    gap: 10px;

    margin-top: 18px;
}

.footer-social a {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #1e293b;

    color: #ffffff;

    transition: 0.3s ease;
}

.footer-social a:hover {
    background: #2563eb;

    color: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER LINE
========================================================= */

.footer-line {
    margin: 40px 0 18px;

    border-color: rgba(255, 255, 255, 0.10);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: #94a3b8;

    font-size: 12.5px;
}

.footer-bottom p {
    margin: 0;
}


/* =========================================================
   LAPTOP
   1200px - 1399px
========================================================= */

@media (max-width: 1399px) and (min-width: 1200px) {

    .savings-hero > .container,
    .saving-hero > .container,
    .content-section > .container,
    .savings-disclaimer > .container,
    .saving-disclaimer > .container,
    .footer-section > .container {
        width: calc(100% - 40px) !important;

        max-width: 1360px !important;
    }


    .savings-hero,
    .saving-hero {
        min-height: 650px;

        padding-top: 100px;
    }


    .savings-hero h1,
    .saving-hero h1 {
        font-size: clamp(42px, 4.3vw, 58px);
    }


    .hero-photo-wrap {
        width: 450px;
        height: 450px;
    }


    .hero-photo-ring {
        width: 450px;
        height: 450px;
    }


    .hero-photo {
        width: 405px;
        height: 405px;
    }


    .narrow-content h2 {
        font-size: 38px;
    }
}


/* =========================================================
   TABLET
   768px - 1199px
========================================================= */

@media (max-width: 1199px) and (min-width: 768px) {

    .savings-hero > .container,
    .saving-hero > .container,
    .content-section > .container,
    .savings-disclaimer > .container,
    .saving-disclaimer > .container,
    .footer-section > .container {
        width: calc(100% - 60px) !important;

        max-width: 900px !important;
    }


    .savings-hero,
    .saving-hero {
        min-height: auto;

        padding: 95px 0 65px;

        text-align: center;
    }


    .savings-hero .hero-row,
    .saving-hero .hero-row {
        min-height: auto;
    }


    .savings-hero .hero-content,
    .saving-hero .hero-content {
        padding-right: 0;

        text-align: center;
    }


    .savings-hero h1,
    .saving-hero h1 {
        max-width: 800px;

        margin-left: auto;
        margin-right: auto;

        font-size: clamp(37px, 6vw, 52px);
    }


    .savings-hero h3,
    .saving-hero h3 {
        max-width: 760px;

        margin-left: auto;
        margin-right: auto;
    }


    .hero-actions {
        display: flex;

        justify-content: center;
    }


    .hero-visual {
        min-height: auto;

        margin-top: 35px;
    }


    .hero-photo-wrap {
        width: 395px;
        height: 395px;
    }


    .hero-photo-ring {
        width: 395px;
        height: 395px;
    }


    .hero-photo {
        width: 360px;
        height: 360px;
    }


    .content-section {
        padding: 65px 0;
    }


    .narrow-content h2 {
        font-size: 34px;
    }
}


/* =========================================================
   MOBILE
   Below 768px
========================================================= */

@media (max-width: 767px) {

    .page-container {
        width: calc(100% - 30px);

        max-width: none;
    }


    .savings-hero > .container,
    .saving-hero > .container,
    .content-section > .container,
    .savings-disclaimer > .container,
    .saving-disclaimer > .container,
    .footer-section > .container {
        width: calc(100% - 30px) !important;

        max-width: none !important;
    }


    .savings-hero,
    .saving-hero {
        min-height: auto;

        padding: 90px 0 55px;

        text-align: center;
    }


    .savings-hero .hero-content,
    .saving-hero .hero-content {
        padding-right: 0;

        text-align: center;
    }


    .savings-badge,
    .saving-badge,
    .retirement-badge {
        margin-bottom: 19px;

        padding: 8px 14px;

        font-size: 12px;
    }


    .savings-hero h1,
    .saving-hero h1 {
        max-width: 100%;

        margin-left: auto;
        margin-right: auto;

        font-size: 34px;

        line-height: 1.15;

        letter-spacing: -0.8px;
    }


    .savings-hero h3,
    .saving-hero h3 {
        max-width: 100%;

        font-size: 15px;

        line-height: 1.75;
    }


    .hero-actions {
        display: flex;

        justify-content: center;

        margin-top: 25px;
    }


    .hero-primary-btn,
    .final-button .btn-primary {
        width: 100%;

        max-width: 320px;
    }


    .hero-visual {
        min-height: auto;

        margin-top: 30px;
    }


    .hero-photo-wrap {
        width: 340px;
        height: 340px;
    }


    .hero-photo-ring {
        width: 340px;
        height: 340px;
    }


    .hero-photo {
        width: 310px;
        height: 310px;
    }


    .content-section {
        padding: 55px 0;
    }


    .narrow-content h2 {
        font-size: 29px;

        line-height: 1.25;
    }


    .narrow-content p,
    .content-list li {
        font-size: 15px;

        line-height: 1.8;
    }


    .content-list {
        padding-left: 21px;
    }


    .retirement-faq summary,
    .savings-faq summary,
    .saving-faq summary {
        font-size: 15px;
    }


    .retirement-faq details p,
    .savings-faq details p,
    .saving-faq details p {
        font-size: 14px;
    }


    .footer-section {
        padding: 55px 0 20px;

        text-align: center;
    }


    .footer-about p {
        margin-left: auto;
        margin-right: auto;
    }


    .footer-contact p {
        justify-content: center;
    }


    .footer-social {
        justify-content: center;
    }


    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }
}


/* =========================================================
   SMALL MOBILE
   Below 576px
========================================================= */

@media (max-width: 575px) {

    .page-container {
        width: calc(100% - 24px);
    }


    .savings-hero > .container,
    .saving-hero > .container,
    .content-section > .container,
    .savings-disclaimer > .container,
    .saving-disclaimer > .container,
    .footer-section > .container {
        width: calc(100% - 24px) !important;
    }


    .savings-hero,
    .saving-hero {
        padding-top: 85px;
    }


    .savings-hero h1,
    .saving-hero h1 {
        font-size: 31px;
    }


    .savings-hero h3,
    .saving-hero h3 {
        font-size: 14px;
    }


    .hero-photo-wrap {
        width: 300px;
        height: 300px;
    }


    .hero-photo-ring {
        width: 300px;
        height: 300px;
    }


    .hero-photo {
        width: 275px;
        height: 275px;
    }


    .narrow-content h2 {
        font-size: 26px;
    }


    .content-section {
        padding: 50px 0;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   Below 400px
========================================================= */

@media (max-width: 400px) {

    .page-container {
        width: calc(100% - 20px);
    }


    .savings-hero > .container,
    .saving-hero > .container,
    .content-section > .container,
    .savings-disclaimer > .container,
    .saving-disclaimer > .container,
    .footer-section > .container {
        width: calc(100% - 20px) !important;
    }


    .hero-photo-wrap {
        width: 270px;
        height: 270px;
    }


    .hero-photo-ring {
        width: 270px;
        height: 270px;
    }


    .hero-photo {
        width: 245px;
        height: 245px;
    }


    .savings-hero h1,
    .saving-hero h1 {
        font-size: 28px;
    }
}