/* =========================================================
   VIRANI INSURANCE - CHILD INSURANCE PAGE
   CLEAN PAGE CSS
   Navbar is controlled by style.css
========================================================= */

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    color: #4b5563;
    background: #ffffff;
    line-height: 1.8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}


/* =========================================================
   PAGE WIDTH
   Same width/alignment as Term & ULIP pages
========================================================= */

.child-hero .container,
.content-section .container,
.child-disclaimer .container,
.bottom-quote .container,
.footer-section .container {
    width: 100%;
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   HERO
========================================================= */

.child-hero {
    position: relative;
    width: 100%;
    min-height: 690px;
    padding: 140px 0 80px;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f7fbff 100%
    );

    overflow: hidden;
}

.child-hero .hero-row {
    min-height: 500px;
}

.child-hero .hero-content {
    position: relative;
    z-index: 2;
}


/* =========================================================
   HERO BADGE
========================================================= */

.child-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 20px;
    margin-bottom: 25px;

    background: #eaf4ff;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 50px;

    color: #1e3a8a;
    font-size: 15px;
    font-weight: 600;
}

.child-badge i {
    color: #3b82f6;
    font-size: 18px;
}


/* =========================================================
   HERO HEADING
========================================================= */

.child-hero h1 {
    max-width: 700px;

    margin: 0 0 22px;

    color: #111827;

    font-size: 62px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.child-hero h3 {
    max-width: 650px;

    margin: 0;

    color: #49627f;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
}


/* =========================================================
   HERO BUTTON
========================================================= */

.child-hero .hero-actions {
    margin-top: 28px;
}

.child-hero .hero-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 27px;

    border: none;
    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #f97316,
        #fb923c
    );

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.20);

    transition: 0.3s ease;
}

.child-hero .hero-actions .btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);

    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.25);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.child-hero .child-image {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   BLUE CIRCLE BEHIND IMAGE
   Slightly larger than image, properly centered
========================================================= */

.child-circle-bg {
    position: absolute;

    width: 500px;
    height: 500px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(59, 130, 246, 0.08);

    z-index: 1;
}


/* =========================================================
   IMAGE CIRCLE
========================================================= */

.child-circle {
    position: relative;
    z-index: 2;

    width: 420px;
    height: 420px;

    padding: 8px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.12);

    overflow: hidden;
}

.child-circle img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 50%;
}


/* =========================================================
   NORMAL CONTENT SECTIONS
========================================================= */

.content-section {
    width: 100%;
    padding: 80px 0;

    background: #ffffff;
}

.soft-section {
    background: #f7fbff;
}


/* =========================================================
   CONTENT
========================================================= */

.narrow-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.narrow-content h2 {
    margin: 0 0 30px;

    color: #111827;

    font-size: 42px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.8px;
}


/* =========================================================
   PARAGRAPHS
========================================================= */

.narrow-content p {
    margin: 0 0 22px;

    color: #4b5563;

    font-size: 17px;
    line-height: 1.85;

    text-align: left;
}

.narrow-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LISTS
========================================================= */

.content-list {
    margin: 0 0 25px;
    padding-left: 25px;
}

.content-list li {
    margin-bottom: 18px;
    padding-left: 5px;

    color: #4b5563;

    font-size: 17px;
    line-height: 1.85;

    text-align: left;
}

.content-list strong {
    color: #183b60;
    font-weight: 700;
}

.content-list.numbered {
    padding-left: 30px;
}


/* =========================================================
   FINAL BUTTON
========================================================= */

.final-button {
    margin: 30px 0;
}

.final-button .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 27px;

    border: none;
    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #f97316,
        #fb923c
    );

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.20);

    transition: 0.3s ease;
}

.final-button .btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
}


/* =========================================================
   FAQ
========================================================= */

.child-faq {
    width: 100%;
}

.child-faq details {
    padding: 20px 0;
    border-bottom: 1px solid #e3ebf5;
}

.child-faq details:first-child {
    border-top: 1px solid #e3ebf5;
}

.child-faq summary {
    position: relative;

    padding-right: 40px;

    cursor: pointer;
    list-style: none;

    color: #16395e;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.child-faq summary::-webkit-details-marker {
    display: none;
}

.child-faq summary::after {
    content: "+";

    position: absolute;
    right: 5px;
    top: 0;

    color: #3b82f6;

    font-size: 24px;
    font-weight: 400;
}

.child-faq details[open] summary::after {
    content: "−";
}

.child-faq details p {
    margin: 16px 0 0;
    padding-right: 35px;

    color: #4b5563;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.child-disclaimer {
    padding: 50px 0;

    background: #ffffff;

    border-top: 1px solid #e3ebf5;
}

.child-disclaimer p {
    margin: 0 0 16px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.8;
}

.child-disclaimer p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BOTTOM QUOTE
========================================================= */

.bottom-quote {
    padding: 70px 0;

    text-align: center;

    background: linear-gradient(
        135deg,
        #eff6ff 0%,
        #f8fbff 100%
    );
}

.bottom-quote h2 {
    max-width: 900px;

    margin: 0 auto 18px;

    color: #111827;

    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
}

.bottom-quote p {
    max-width: 800px;

    margin: 0 auto 28px;

    color: #5b6472;

    font-size: 16px;
    line-height: 1.8;
}

.bottom-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 27px;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #f97316,
        #fb923c
    );

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.20);

    transition: 0.3s ease;
}

.bottom-quote-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer-section {
    padding: 65px 0 20px;

    background: #0f172a;
    color: #cbd5e1;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
}

.footer-section h3 {
    margin-bottom: 17px;

    font-size: 23px;
    font-weight: 700;
}

.footer-section h4 {
    margin-bottom: 18px;

    font-size: 17px;
    font-weight: 700;
}

.footer-about p {
    max-width: 500px;

    margin: 0;

    color: #94a3b8;

    font-size: 14px;
    line-height: 1.8;
}

.footer-links ul {
    padding: 0;
    margin: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;

    color: #94a3b8;

    font-size: 14px;
}

.footer-links a {
    color: #94a3b8;
    transition: 0.25s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 13px;

    color: #94a3b8;

    font-size: 14px;
}

.footer-contact i {
    color: #3b82f6;
}

.footer-contact a {
    color: #94a3b8;
}

.footer-contact a:hover {
    color: #60a5fa;
}

.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 {
    margin: 40px 0 18px;

    border-color: rgba(255, 255, 255, 0.10);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    color: #94a3b8;

    font-size: 12.5px;
}

.footer-bottom p {
    margin: 0;
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .child-hero {
        min-height: 650px;
        padding-top: 140px;
    }

    .child-hero h1 {
        font-size: 54px;
    }

    .child-circle {
        width: 390px;
        height: 390px;
    }

    .child-circle-bg {
        width: 460px;
        height: 460px;
    }

    .narrow-content h2 {
        font-size: 38px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .child-hero .container,
    .content-section .container,
    .child-disclaimer .container,
    .bottom-quote .container,
    .footer-section .container {
        max-width: 720px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .child-hero {
        min-height: auto;
        padding: 125px 0 65px;
        text-align: center;
    }

    .child-hero .hero-row {
        min-height: auto;
    }

    .child-hero .hero-content {
        text-align: center;
    }

    .child-hero h1 {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;

        font-size: 52px;
    }

    .child-hero h3 {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

    .child-hero .hero-actions {
        display: flex;
        justify-content: center;
    }

    .child-hero .child-image {
        min-height: auto;
        margin-top: 35px;
    }

    .child-circle {
        width: 360px;
        height: 360px;
    }

    .child-circle-bg {
        width: 400px;
        height: 400px;
    }

    .content-section {
        padding: 65px 0;
    }

    .narrow-content h2 {
        font-size: 34px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .child-hero .container,
    .content-section .container,
    .child-disclaimer .container,
    .bottom-quote .container,
    .footer-section .container {
        width: 100%;
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .child-hero {
        padding: 110px 0 55px;
    }

    .child-badge {
        font-size: 12px;
        padding: 8px 14px;
    }

    .child-hero h1 {
        font-size: 34px;
        line-height: 1.15;
        letter-spacing: -0.8px;
    }

    .child-hero h3 {
        font-size: 15px;
        line-height: 1.75;
    }

    .child-hero .hero-actions .btn-primary {
        width: 100%;
        max-width: 320px;
    }

    .child-hero .child-image {
        margin-top: 30px;
    }

    .child-circle {
        width: 310px;
        height: 310px;
    }

    .child-circle-bg {
        width: 345px;
        height: 345px;
    }

    .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;
    }

    .child-faq summary {
        font-size: 15px;
    }

    .child-faq details p {
        font-size: 14px;
    }

    .bottom-quote {
        padding: 55px 0;
    }

    .bottom-quote h2 {
        font-size: 29px;
    }

    .bottom-quote p {
        font-size: 15px;
    }

    .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
========================================================= */

@media (max-width: 575px) {

    .child-hero {
        padding-top: 105px;
    }

    .child-hero h1 {
        font-size: 31px;
    }

    .child-hero h3 {
        font-size: 14px;
    }

    .child-circle {
        width: 275px;
        height: 275px;
    }

    .child-circle-bg {
        width: 305px;
        height: 305px;
    }

    .narrow-content h2 {
        font-size: 26px;
    }

    .content-section {
        padding: 50px 0;
    }

    .bottom-quote h2 {
        font-size: 26px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .child-circle {
        width: 245px;
        height: 245px;
    }

    .child-circle-bg {
        width: 270px;
        height: 270px;
    }

    .child-hero h1 {
        font-size: 28px;
    }
}