/*** Style for the praful patel's intro boxes ***/
section.section-padding.vertical-tab-design.introduction_section_part {
    /* background-color: #033a7d; */
    background-image: url("/assets/site/img/introduction/intro_background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
.intro_section {
    /* background-color: #54d1ff; */
    color: #fff;
    padding: 0px 10px;
    height: 100%;
}
.intro_section .col-md-4,
.intro_section .col-md-8 {
    flex: 0 0 auto;
    /* max-width: none; */
}
.grid_padding {
    padding: 0 5px;
}
.intro_section img {
    /* max-width: 270px; */
    /* max-width: 100%;
    height: auto; */
    width: auto;
    max-height: 180px;
    margin: 10px 0;
    border-radius: 5px;
}
.introbox {
    /* background-color: #54d1ff; */
    color: #fff;
    border: none;
    padding: 10px;
    /* margin: 10px 0; */
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.introbox_title {
    font-size: 17px;
}
.praful_patel_box {
    padding: 10px;
}
.intro_small_text_first {
    font-size: 11px;
    line-height: 1.2;
}
.intro_small_text {
    font-size: 10px;
    line-height: 1.2;
}
.introbox_imgbox {
    flex: 0 0 auto;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.introbox_img {
    /* height: 150px; */
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.introbox_body {
    flex: 1 1 auto;
}
a.intro_read_more {
    /* color: #007c00; */
    color: #000;
    text-decoration: underline;
    font-size: 13px;
}
a.intro_read_more:hover {
    color: #007c00;
    /* color: #1000ff; */
}
a.introduction_class_read_more {
    color: #fff;
    text-decoration: underline;
    font-size: 12px;
}
a.introduction_class_read_more:hover {
    color: yellow;
}
@media screen and (max-width: 767px) {
    .intro_img {
        text-align: center;
    }
}
/*** Style end for the praful patel's intro boxes ***/

/*** Style for the why pledge your eyes section ***/
.why_pledge_your_eyes_section {
    /* background-color: #003366; */
    /* background-image: linear-gradient(to right, #003366, #1a75ff); */
    background-image: url("/assets/site/img/netra_daan_icons/why_donate_eye.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 40px 0;
}

.why_pledge_your_eyes_section .nav-tabs {
    border-bottom: none;
}

.why_pledge_your_eyes_section .nav-tabs .nav-link {
    color: white;
    font-weight: 500;
    margin: 5px 0;
    border-radius: 0px;
    font-size: 20px;
}

.why_pledge_your_eyes_section .nav-tabs .nav-link.active {
    background-color: transparent;
    color: yellow;
    border: none;
}

.why_pledge_your_eyes_section .tab-content {
    padding-left: 20px;
}

/* 🟨 Vertical Divider */
.vertical-divider {
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    height: 100%;
}

@media (max-width: 767.98px) {
    .vertical-divider {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        margin-bottom: 15px;
    }
}
/*** Style end for the why pledge your eyes section ***/

/*** Style for the why donation matters boxes ***/
.stats {
    text-align: center;
}

.stat-box {
    background-color: #01478f;
    color: white;
    padding: 20px;
    border-radius: 20px;
    margin: 2px;
    align-content: center;
    height: 100%;
}

.stat-box img {
    height: 80px;
    width: auto;
}

.stat-box h3 {
    font-size: 36px;
    font-weight: bold;
}

.stat-box p {
    margin: 0;
}
/*** Style end for the why donation matters boxes ***/

/*** Style for the media gallery boxes frontpage ***/
.media_img_box {
    border: 1px solid #54d1ff;
}
.media_img_box a p,
.media_img_box p {
    background: #00000085;
    width: 100%;
    margin-bottom: 0px;
    z-index: 9999;
    color: #fff;
    padding: 5px 10px;
}
/*** Style end for the media gallery boxes frontpage ***/

/*** Style for the banner frontpage ***/
.col-lg-10.first_banner_text {
    color: #fff;
}
.col-lg-10.first_banner_text p {
    font-size: 18px;
    max-width: 450px;
    margin-bottom: 15px;
}
.col-lg-10.first_banner_text h3 {
    margin-bottom: 0px;
}
/*** Style end for the banner frontpage ***/

/*** Style for the footer ***/
.site-footer__bottom .lst-up-wrap p,
.site-footer__bottom .copy-claim p {
    margin-bottom: 0px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #000;
    /* font-weight: 600; */
}
@media (max-width: 992px) {
    .container div.row div.col-lg-3.left-col,
    .container div.row div.col-lg-6.center-col,
    .container div.row div.col-lg-3.right-col {
        text-align: center;
        padding: 3px 0;
    }
    .site-footer__bottom .cert-icon-wrap {
        display: flex;
        justify-content: center;
        float: none !important;
    }
}
/*** Style end for the footer ***/

/* Responsive Styles for header and the index page */
/* Ensure each slide is a positioned container */
.carousel-item {
    position: relative;
    overflow: hidden; /* optional, keeps things tidy */
}

/* Position caption relative to the slide.
   Change left/top to move the fixed anchor point.
   (left:10% / top:50% is a common starting point) */
.custom-banner-caption {
    position: absolute;
    left: 10%; /* move horizontally (use percent) */
    top: 50%; /* vertical anchor point */
    transform: translateY(-50%); /* center vertically around top value */
    width: clamp(
        220px,
        40vw,
        600px
    ); /* fluid width: min 220px, grows with viewport up to 600px */
    z-index: 5; /* above banner images but below header (header has z-index 10) */
    margin: 0;
    padding: 1rem; /* tweak as needed */
    text-align: left;
    pointer-events: auto; /* allow links / interactions inside text */
}

/* Make the inner container take full width of the caption */
.text_on_banner {
    width: 100%;
}

/* Fluid typography using clamp() for smooth scaling */
/* Base paragraph text */
.first_banner_text,
.first_banner_text p {
    font-size: clamp(
        12px,
        1.6vw,
        18px
    ); /* min 12px, grows with viewport, max 18px */
    line-height: clamp(1.1rem, 2.4vw, 1.6rem);
    margin: 0 0 0.6rem 0;
    word-wrap: break-word;
}

/* Headings inside CKEditor HTML */
.first_banner_text h1,
.first_banner_text h2,
.first_banner_text h3,
.first_banner_text h4 {
    margin: 0 0 0.4rem 0;
    line-height: 1.05;
    font-weight: 700;
}

/* Scale headings proportionally */
.first_banner_text h1 {
    font-size: clamp(20px, 4.4vw, 40px);
}
.first_banner_text h2 {
    font-size: clamp(18px, 3.6vw, 32px);
}
.first_banner_text h3 {
    font-size: clamp(16px, 3vw, 26px);
}
.first_banner_text h4 {
    font-size: clamp(14px, 2.4vw, 20px);
}

/* small text */
.first_banner_text small {
    font-size: clamp(10px, 1.2vw, 13px) !important;
    display: block;
}

/* Links inside banner text — make them visible on backgrounds */
.first_banner_text a {
    color: inherit;
    text-decoration: underline;
}

/* Safety: images or iframes added via CKEditor should not overflow */
.first_banner_text img,
.first_banner_text iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments: if you want a different anchor on small screens */
@media (max-width: 575px) {
    .custom-banner-caption {
        left: 5%; /* nudges text closer to edge on tiny screens */
        top: 60%;
        width: clamp(180px, 80vw, 350px);
        padding: 0.6rem;
    }
    .first_banner_text {
        font-size: clamp(11px, 2.6vw, 14px);
    }
}
/* Responsive Styles for header and the index page */
