/********** Template CSS **********/
:root {
    --primary: #FF6B53;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #313B60;

}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: #FFFFFF !important;
    background-color: #e55a45; /* Slightly darker shade of #FF6B53 for feedback */
    border-color: #e55a45;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid#313B60;
}


.logo-wrapper {
    display: flex;
    /* Use flexbox to arrange items horizontally */
    align-items: center;
    /* Align items vertically in the center */
}

.logo-wrapper img {
    margin-right: 10px;
    /* Adjust the spacing between the image and text */
}

y .navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid #313B60;
        background: #313B60;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(65, 72, 73, 0.8);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    .header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}




.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    /* overflow: hidden; */
    opacity: 0;
    transition: .5s;
}

.causes-item .resource-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-bottom: 40px;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    border-radius: 8px;
}


/*** Donate ***/
.donate {
    background: #313b60b5;
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Testimonial ***/
/* new code  */
/* Team Member Styles */
.container-team-member {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px 50px 50px 50px;
    justify-items: center;
}

.card-content {
    padding: 20px;
    background-color: #313B60;
    border-radius: 4px;
}

.card-content h3 {

    color: #ffff;
}

.team-member {
    text-align: center;
    width: 285px;
    padding: 14px 0px 0px 0px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.team-member img {
    width: 280px;
    height: 330px;
    /* border-radius: 8px; */
}

.team-member-img img {
    width: 280px;
    height: 330px;
    /* border-radius: 8px; */
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-member .title {
    color: #ffffff;
    font-size: 16px;
}

.team-member:hover {
    transform: scale(1.05);
}

/* Responsive Design */
/* @media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 20px;
    }

    .team-member {
        margin-bottom: 20px;
    }
} */

.testimonials {
    padding: 40px 0;
    background: #f1f1f1;
    color: #434343;
    text-align: center;
}

.testimonial-inner {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

.border {
    width: 160px;
    height: 5px;
    background: #6ab04c;
    margin: 26px auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.col {
    flex: 33.33%;
    max-width: 33.33%;
    box-sizing: border-box;
    padding: 15px;
}

.testimonial {
    background: #fff;
    padding: 30px;
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.name {
    font-size: 20px;
    text-transform: uppercase;
    margin: 20px 0;
}

.stars {
    color: #f0932b;
    margin-bottom: 20px;
}

@media screen and (max-width: 960px) {
    .col {
        flex: 100%;
        max-width: 80%;
    }
}

/* ============================================= */
.team-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px;
    background-color: white;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px 50px 50px 50px;
    justify-items: center;
}

.team-leader {
    background-color: #F8F8F9 !important;
    border: 1px solid #FF6B53;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.member-img {
    border-radius: 50%;
    width: 200px;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 0.5px solid #313B60;
}

/* .member-b-img {
    border-radius: 50%;
    width: 200px;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 0.5px solid #313B60;
} */

/* h3 {
    margin: 10px 0 5px;
}

p {
    margin: 5px 0;
    color: #666;
} */

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

/* Responsive Media Queries */
@media screen and (max-width: 1200px) {
    .team-section {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .team-section {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .member-img {
        width: 150px;
        height: 160px;
    }
}

@media screen and (max-width: 576px) {
    .team-section {
        padding: 20px;
    }

    .team-leader {
        padding: 15px;
    }

    .member-img {
        width: 120px;
        height: 130px;
    }
}

/* ============================================= */


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}



/* Just testing */
/*** About ***/
.about-fact {
    width: 280px;
    height: 280px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -100px;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}




/*FAQ*/
.accordions {
    max-width: 80%;
    margin: auto;
}

.accordion .accordion__title {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    background-color: var(--white);
    border-bottom: 1px solid #0002;
    padding: 20px 10px;
    color: var(--dark);
    margin-top: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.accordion .accordion__title input {
    appearance: none;
}


.accordion .accordion__title:after {
    transition: all 0.25s ease;
    font-family: "Font Awesome 5 Free";
    font-size: 2.2rem;
    font-weight: 900;
    content: "\f0da";
    float: right;
    margin-right: 10px;
}

.accordion .accordion__title:has(input:checked):after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d7";
    float: right;
    margin-right: 10px;
}

.accordion .accordion__text {
    overflow: hidden;
    max-height: 0;
    background-color: var(--gray-light);
    filter: contrast(.9);
    transition: all .5s ease-in-out;
    font-weight: 400;
}

.accordion .accordion__text p {
    font-weight: 100;
    line-height: 1.5rem;
    padding: 10px 10px;
    color: var(--gray-dark);
}

.accordion .accordion__title:has(input:checked) {
    color: var(--green-light);
}

.accordion .accordion__title:has(input:checked)+.accordion__text {
    max-height: 200px;
}

.mt-2 {
    margin-top: 20px;
}

.my-1 {
    margin-top: 10px;
    margin-bottom: 10px;
}



/*Success testing*/
:root {
    --color-white: #ffffff;
    --color-black: #181818;
    --color-blue: #0c1c59;
    --color-green: #368b85
}


.success-bg {
    background-color: #313B60;
    background-size: cover
}

.section_padding {
    padding-top: 85px;
    padding-bottom: 65px
}


.section_padding {
    padding-top: 80px;
    padding-bottom: 80px;
    border-radius: 8px;
}

.section_top_padding {
    padding-top: 80px
}

.section_bottom_padding {
    padding-bottom: 80px
}


.center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}


.success__heading1 {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    letter-spacing: -2px;
    color: var(--color-white)
}


.success__heading1 {
    font-size: 32px;
    line-height: 120%
}

.success__mainparagraph {
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    padding-bottom: 20px;
    /* line-height: 19px; */
    text-align: center;
    color: var(--color-white)
}

.success__box {
    border-left: 2px solid #FF6B53;
    background: #242b46;
    /* box-shadow: 0 0 20px #0707070d; */
    box-shadow: 6px 5px 20px 0px #372a2a4f;
    border-radius: 5px;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.success__box-heading {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    letter-spacing: -2px;
    color: var(--color-white)
}

.success__box-paragraph {
    margin-top: 24px;
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: var(--color-white)
}

.success__box {
    margin-bottom: 16px
}

/*.success__box {*/
/*    height: 300px;*/
/*    width: 100%;*/
/*     display: flex;*/
/*    width: 100%;*/
/*    height: 241px;*/
/*    align-items: flex-start;*/
/*    justify-content: center;*/
/*}*/
.success__box-heading {
    /* font-size: 32px; */
    letter-spacing: -.5px
}

.success__box h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}

.success_sm_box-heading {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-size: 39.2px;
    line-height: 48px;
    letter-spacing: -2px;
    color: var(--color-white)
}

.success_sm_box-paragraph {
    margin-top: 32px;
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 0;
    text-align: left;
    color: var(--color-white)
}


.success_sm_box-paragraph {
    text-align: center;
    margin-top: 24px
}



.success_sm_box {
    align-items: center
}

.success_sm_box {
    padding: 14px;
    margin-right: 16px;
    margin-bottom: 14px;
    border-left: 2px solid #FF6B53;
    display: flex;
    width: 100%;
    height: 241px;
    /* align-items: flex-start; */
    align-items: center;
    justify-content: center;
    /* background: rgba(24, 24, 24, .7);
    box-shadow: 0 0 20px #0000000d; */
    background: #242b46;
    box-shadow: 6px 5px 20px 0px #372a2a4f;
    border-radius: 5px;
    flex-direction: column;
}

.success-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.success-center h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}

.success-center {
    display: block
}

.section_top_padding {
    padding-top: 80px
}

.section_top_padding {
    padding-top: 85px
}

.product__heading1 {
    font-size: 32px;
    line-height: 120%
}


.product__heading1 {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    letter-spacing: -2px;
    color: var(--color-blue)
}


.product__mainparagraph {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    margin-top: 8px;
    color: var(--color-black)
}


.dep__center1 {
    margin-top: 89px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center
}


.dep__center1 {
    margin-top: 40px
}


.direction_change {
    flex-direction: column;
    text-align: center
}


.dep__heading,
.risk__heading {
    margin-bottom: 8px;
    text-align: center;
    margin-top: 24px;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -.5px
}


.dep__heading {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    letter-spacing: -1px;
    color: var(--color-black)
}



.dep__paragraph {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    margin-top: 16px;
    color: #181818b3;
    margin-bottom: 0
}



.dep__paragraph,
.risk__paragraph {
    text-align: center;
    margin: 8px 0 40px;
    color: #181818b3
}



.surprise_bg {
    background: #fbfbfb
}





.risk_section_h1 {
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    letter-spacing: -1px;
    color: #FF6B53
}

.risk_section_h1 {
    font-size: 18px;
    line-height: 120%;
    margin-bottom: 0;
    letter-spacing: 0px
}

.risk_section_h2 {
    margin-top: 24px;
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
    letter-spacing: -2px;
    color: var(--color-black)
}

.risk_section_h2 {
    font-size: 32px;
    line-height: 120%;
    line-height: -1px
}


.surprise__heading3 {
    letter-spacing: -.5px;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%
}


.surprise__heading3 {
    top: 100px;
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-size: 29px;
    line-height: 58px;
    text-align: center;
    letter-spacing: -2px;
    color: #737373
}

.border-green {
    display: flex;
    height: 100%;
    background: #ffffff;
    border: 1px solid #FF6B53;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    padding: 31px
}

.border-green {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 32px 24px
}

.adjust-img {
    margin-right: 0
}

.adjust-img {
    margin-right: 25px
}

.box__heading {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: justify
}


.box__heading {
    font-size: 16px;
    line-height: 120%;
    margin-top: 16px;
    margin-bottom: 0
}

.section-heading {
    margin-bottom: 32px
}

.section-heading {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    text-align: center;
    letter-spacing: -2px;
    color: var(--color-black)
}

/* if mobile device max width 380px */
@media only screen and (max-width: 380px) {
    .mobile_device_380px {
        display: block;
        width: 100%;
    }

    .mobile_device_480px {
        display: none;
    }

    .desktop {
        display: none;
    }
}

*/ .about-blocks {
    width: 100%;
    max-width: 520px;
    min-width: 500px;
    padding-left: 0;
    padding-right: 0;
    margin-left: 10px;
}


.about-block.large {
    max-width: 266px;
    margin-left: 25px;
    aspect-ratio: 1 / 1;
    background-color: #FF6B53;
}

.about-block.medium {
    width: 100%;
    max-width: 200px;
    background-color: #313B60;
    margin-top: -117px;
    margin-left: auto;
}


.about-block.small {
    max-width: 206px;
    aspect-ratio: 1 / 1;
    margin-top: -45px;
    margin-left: 80px;
}

.about-block {
    width: 100%;
    background-color: #1470AF;
    text-align: center;
    border-radius: 50%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 32px;
    display: flex;
}



@media (min-width: 768px) {
    .about-blocks {
        flex-direction: row;
        /* margin-top: 50px; */
        margin: 107px 0px;
    }

    .about-block {
        /* width: calc(33.33% - 20px);  */
        margin-right: 20px;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .about-block {
        width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .about-blocks {
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px
    }
}



.service-item .btn-group {
    margin-top: auto;
    /* Align buttons at the bottom */
}

/* ----------Newsletter popup--------- */
.container.row {
    display: flex;
    justify-content: space-between;
    /* Distributes space between child elements */
}

.text-right {
    text-align: right;
    margin-left: auto;
    /* Pushes the content to the right in flex containers */
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 800px;
    /* Adjust width as needed */
}

.close {
    color: #f82a2a;
    float: left;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    /* Adjust as needed */
    left: 10px;
    /* Position the close button on the left side */

}

.close:hover,
.close:focus {
    color: #f82a2a;
    text-decoration: none;
    cursor: pointer;
}

/* ----------------------------------- */


/* Doctor Page Hero */
.doctor-hero-header {
    background: linear-gradient(rgba(20, 28, 58, 0.6), rgba(20, 28, 58, 0.6)), url(../img/333475610.jpeg) center center no-repeat;
    background-size: cover;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6rem;
    margin-bottom: 0;
}

/* Vendor Page Hero */
.vendor-hero-header {
    background: linear-gradient(rgba(20, 28, 58, 0.65), rgba(20, 28, 58, 0.65)), url(../img/333475610.jpeg) center center no-repeat;
    background-size: cover;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 6rem;
    margin-bottom: 0;
}

.feature-box {
    padding: 4rem;
    height: 100%;
    color: #FFFFFF;
}

.feature-title {
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
}

.expert-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Ensure padding matches existing site rhythm */
.contact-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.form-control-dark {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.form-control-dark:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    color: #FFFFFF;
    box-shadow: none;
}

.form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-floating>label {
    width: 100%;
    font-size: 0.85rem;
}

.form-control {
    border: 1px solid #ced4da;
    color: #495057;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 83, 0.25);
}

/* ===== Campaign Header ===== */
.campaign-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    height: 120px;
    background: linear-gradient(rgba(20, 28, 58, 0.78), rgba(20, 28, 58, 0.78)),
        url(../img/333475610.jpeg) center center / cover no-repeat;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.campaign-header .campaign-logo img {
    height: 90px;
    width: auto;
}

.campaign-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #e8503a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 10px 8px 22px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: none;
}

.campaign-btn i {
    background-color: #ffffff;
    color: #e8503a;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.campaign-btn:hover {
    background-color: #f86b53;
    color: #ffffff !important;
    text-decoration: none;
}

.campaign-btn:hover i {
    transform: scale(1.1);
}

/* ===== Campaign Footer ===== */
.campaign-footer {
    background-color: #1a1e3b;
    padding: 4rem 4rem 2.5rem;
}

.campaign-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 3rem;
}

.campaign-footer .campaign-logo img {
    height: 110px;
    width: auto;
}

.campaign-footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.campaign-footer-copy a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.campaign-footer-copy a:hover {
    color: #ffffff;
}

/* ===== DOCTOR & VENDOR PAGE — FULL RESPONSIVE STYLES ===== */

/* ---------- Campaign Header ---------- */
@media (max-width: 991px) {
    .campaign-header {
        padding: 0 2rem;
    }
}

@media (max-width: 767px) {
    .campaign-header {
        padding: 0.8rem 1.5rem;
        height: auto;
        gap: 0.75rem;
    }

    .campaign-header .campaign-logo img {
        height: 60px;
    }

    .campaign-btn {
        font-size: 0.85rem;
        padding: 7px 8px 7px 14px;
        gap: 8px;
    }

    .campaign-btn i {
        width: 26px;
        height: 26px;
        font-size: 0.78rem;
    }
}

@media (max-width: 576px) {
    .campaign-header {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .campaign-header .campaign-logo {
        order: -1;
        width: 100%;
        text-align: center;
    }

    .campaign-footer-top {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
}

/* ---------- Hero Headers ---------- */
.doctor-hero-header,
.vendor-hero-header {
    min-height: 85vh;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 992px) {

    .doctor-hero-header,
    .vendor-hero-header {
        min-height: 55vh;
        padding-bottom: 3rem;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .doctor-hero-header h1,
    .vendor-hero-header h1 {
        font-size: 2.4rem !important;
    }
}

@media (max-width: 767px) {

    .doctor-hero-header,
    .vendor-hero-header {
        min-height: 50vh;
        padding-bottom: 2.5rem;
    }

    .doctor-hero-header h1,
    .vendor-hero-header h1 {
        font-size: 1.85rem !important;
        letter-spacing: 0 !important;
    }

    .doctor-hero-header p,
    .vendor-hero-header p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {

    .doctor-hero-header,
    .vendor-hero-header {
        min-height: 45vh;
    }

    .doctor-hero-header h1,
    .vendor-hero-header h1 {
        font-size: 1.5rem !important;
    }
}

/* ---------- Section Headings (large h1s with inline styles) ---------- */
@media (max-width: 992px) {
    .section-h1-resp {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 767px) {
    .section-h1-resp {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .section-h1-resp {
        font-size: 1.5rem !important;
    }
}

/* ---------- Image / Video Containers (Responsive) ---------- */
.media-box {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 400px; /* Default height */
}

.media-box img, 
.media-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 1200px) {
    .media-box {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .media-box {
        height: 420px;
    }
}

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

@media (max-width: 576px) {
    .media-box {
        height: 520px;
    }
}

/* ---------- Section 2 padded row (inline padding-left/right 40px) ---------- */
@media (max-width: 767px) {
    .section2-inner-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ---------- Feature Boxes ---------- */
.feature-box {
    padding: 2.5rem;
    height: 100%;
    color: #FFFFFF;
}

@media (max-width: 992px) {
    .feature-box {
        padding: 2rem;
    }

    .feature-box h1,
    .feature-box .display-6 {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 767px) {
    .feature-box {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .feature-box {
        padding: 1.5rem;
    }

    .feature-box h1,
    .feature-box .display-6 {
        font-size: 1.35rem !important;
    }
}

/* ---------- Expert Title ---------- */
.expert-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
}

/* ---------- Contact / Footer Section ---------- */
.contact-section .contact-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.95rem) !important;
    width: 100% !important;
    line-height: 1.4;
}

.homepage-contact {
    background-color: #242b46;
    color: #ffffff;
}

.homepage-contact .contact-home-copy {
    max-width: 580px;
}

.homepage-contact .contact-home-tagline {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.homepage-contact .contact-home-cta {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.homepage-contact .contact-form-card {
    background: #373d60;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.homepage-contact .form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important; /* Lighter default border */
    color: #ffffff !important;
    caret-color: #ffffff !important;
    box-shadow: none !important;
    font-weight: 500 !important; /* Slightly bolder for "brightness" */
}

.homepage-contact .form-floating>label {
    color: #ffffff !important;
    opacity: 1 !important; /* Ensure pure white bright color */
}

.homepage-contact .form-floating .form-control:focus ~ label,
.homepage-contact .form-floating .form-control:not(:placeholder-shown) ~ label {
    color: #ffffff !important;
    opacity: 1 !important;
}

.homepage-contact .form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ff6b53 !important; /* Brighter orange border on focus */
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 83, 0.25) !important; /* Orange glow */
}

.homepage-contact .form-control::placeholder {
    color: rgba(255, 255, 255, 0.85) !important;
}

.homepage-contact .btn-primary {
    background-color: #ff6b53;
    border-color: #ff6b53;
}

.homepage-contact .btn-primary:hover,
.homepage-contact .btn-primary:focus {
    background-color: #e25646;
    border-color: #e25646;
}

.homepage-contact .form-check-label {
    color: #ffffff;
}

@media (max-width: 991px) {
    .homepage-contact .contact-home-copy,
    .homepage-contact .contact-form-card {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .homepage-contact {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .homepage-contact .contact-home-tagline {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .homepage-contact .contact-form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 992px) {
    .contact-section .contact-tagline {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    .contact-section .contact-tagline {
        font-size: 1.25rem !important;
        text-align: center;
    }

    .contact-section .text-white.ps-lg-4 {
        text-align: center;
    }
}

/* Contact form card */
@media (max-width: 480px) {
    .contact-form-card {
        padding: 1.5rem !important;
    }
}

/* ---------- Campaign Footer ---------- */
@media (max-width: 767px) {
    .campaign-footer {
        padding: 2.5rem 2rem 1.5rem;
    }

    .campaign-footer .campaign-logo img {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .campaign-footer {
        padding: 2rem 1.25rem 1.25rem;
    }
}

/* ---------- General section vertical spacing on mobile ---------- */
@media (max-width: 767px) {

    .container-xxl.py-5,
    .container-fluid.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

@media (max-width: 480px) {

    .container-xxl.py-5,
    .container-fluid.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}