/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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 {
    color: #FFFFFF;
}

.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;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

/* .font-secondary {
    font-family: 'Lobster Two', cursive;
} */


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 20px 10px;
    color: var(--dark);
    font-weight: bold;
 font-size:13px !important;
    outline: none;
}

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

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

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

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {

    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
  /*  background: url(../img/bg-header-top.png) center center repeat-x;*/
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
  /*  background: url(../img/bg-header-bottom.png) center center repeat-x;*/
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/bn.webp) center center no-repeat;
    background-size: cover;
    height: 700px !important;
}

/* Adjustments for phones */
@media (max-width: 576px) {
    .page-header {
        background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), 
                    url(../img/carousel-1.jpg) center center no-repeat;
        background-size: cover; /* Ensure the background covers the container */
    
    }
}



.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 210px;
    height: 210px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}



/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    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;
    margin-right: 10px;
}

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

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

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

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}



/*--flexisel--*/
#flexiselDemo1 {
    display: none;
}
.nbs-flexisel-container {
    position: relative;
    max-width: 100%;
}
.nbs-flexisel-ul {
    position: relative;
    width: 9999px;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    text-align: center;
}
.nbs-flexisel-inner {
    overflow: hidden;
}
.nbs-flexisel-item {
    float: left;
    margin: 0;
    padding: 0px;
    position: relative;
    line-height: 0px;
}
.nbs-flexisel-item > img {
    cursor: pointer;
    position: relative;
}
/*--Navigation--*/
.nbs-flexisel-nav-left, .nbs-flexisel-nav-right {
    width:24px;
    height:24px;
    position: absolute;
    cursor: pointer;
    z-index: 100;
}
/*--//flexisel--*/

/* For the video container */
.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Video styling for responsiveness */
.custom-video {
    width: 100%;
    height: 70vh; /* Default height for larger screens */
    object-fit: cover; /* Ensures the video covers the area */
}

/* Adjustments for phone screens */
@media (max-width: 768px) {
    .custom-video {
        height: 50vh; /* Reduce height for better fit on smaller screens */
    }
}

@media (max-width: 576px) {
    .custom-video {
        height: 40vh; /* Further reduce height for very small screens */
    }
}

/* Default styling */
/*.responsive-image_ab {
    width: 50%;
    height: 50%;
}
*/
/* Adjustments for tablets */
@media (max-width: 768px) {
    .responsive-image_ab {
        width: 30%; /* Increase size for better visibility */
        height: 30%;
    }
}

/* Adjustments for phones */
@media (max-width: 576px) {
    .responsive-image_ab {
               width: fit-content;
        height: 240px;
        position: static; /* Remove absolute positioning for better stacking */
        margin: 0 auto; /* Center the image */
        display: block; /* Ensures proper layout on narrow screens */
    }

    .col-lg-5 {
        min-height: 200px; /* Reduce minimum height to fit smaller screens */
    }
}













.about-item-content {
    flex: 1;
    background-color: #dd694e !important;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.site-title-tagline {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 15px;
    font-weight: 700;
    color: #dd694e !important;
    position: relative;
}


.cta-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
  width: 100%;
    height: 100%;
    background: var(--theme-color);
    border-radius: 25px;
    opacity: .9;
    z-index: -1;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.cta-content {
    position: relative;
    padding: 30px 40px;
    z-index: 1;

    background-color: #dd694e !important;
    color: white;
}

.cta-content::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    right: 8px;
    border-radius: 20px;
    z-index: -1;
}

.cta-content h1 {
    color: var(--color-white);
    font-size: 25px;
    text-align: center;
    padding-top: 10px;
}

.cta-btn .theme-btn:hover {
    color: var(--color-white);
}

/*.cta-btn .theme-btn {
    background: var(--color-white);
    color: var(--color-dark);
}*/
.theme-btn:hover {
    color: var(--color-white);
}
a:hover {
    color: var(--color-blue);
}

.theme-btn {
    font-size: 12px;
    color: black;
    padding: 10px 20px;
    transition: all 0.5s;
    text-transform: uppercase;
    position: relative;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    border: none;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 1;
}


/* Ensure the row acts as a Flexbox container */
.about-content .row {
    display: flex;
    flex-wrap: wrap; /* Maintain responsiveness on smaller screens */
    gap: 20px; /* Add spacing between cards */
}

/* Flex-grow ensures equal heights */
.card-equal-height {
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: space-between; /* Balance spacing inside the card */
    flex: 1; /* Enable equal height scaling */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    color: #000000;
}

/* Add padding between cards in mobile view */
@media (max-width: 768px) {
    .about-content .row {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }
}


/* Ensure the images fill the carousel item properly */
.owl-carousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the item */
    border-radius: 10px; /* Optional: rounded corners for images */
    /* border: 1px solid  black; */
}

/* Adjust the carousel item size */
.owl-carousel .item {
    height: 200px; /* Set the height as per your design */
}



.partners-carousel .partner-item {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.partners-carousel .partner-item img {
    width: 150px !important;
    height: 120px !important;
    object-fit: contain !important;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
}



        .icon-circle {
            min-width: 80px;
            min-height: 80px;
            /* border-radius: 50%; */
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .impact-container {
            width: 100%;
        }

        .text-content {
            text-align: left;
        }

        .impact-card {
    padding: 20px;
 
      background: linear-gradient(135deg, #fceabb, #e4c87dff);
    border-radius: 10px;
}

.impact-inner {
    display: flex;
    align-items: center; /* vertically center */
    gap: 20px; /* space between image and text */
}

/* Mobile View */
@media (max-width: 767px) {
    .impact-description {     /* description text */
        display: none !important;
    }

    .impact-figure strong {   /* heading/title */
        font-size: 20px !important;
        font-weight: 700;
        text-align: center;
        display: block;
    }
}


.icon-circle {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.btn-donate {
    display: inline-block;
    padding: 10px 25px;
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    animation: blink 1s infinite; /* Blink effect */
    transition: 0.3s;
 border: 3px solid #103741; /* Orange border added */
}

.btn-donate:hover {
    background-color: #e65c00;
    transform: scale(1.05);
}

/* Keyframes for blinking */
@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.3;
    }
}





 /* Basic Reset and Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light gray background */
}

/* --- Impact Section Styling --- */
.impact-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.section-title {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    text-align: left;
    padding-left: 10px; /* Adjust for padding/margin */
}

/* --- Owl Carousel Specific Overrides --- */

/* The main carousel container */
.impact-container {
    padding: 0 10px; /* Space on the sides */
}

/* Style for individual card inside the carousel */
.impact-card {
    /* Owl Carousel needs this to be a block element */
    display: block !important; 
    
    /* Card design styles */
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
    text-align: left;
    height: 100%; /* Ensures all cards are the same height */
}

/* Icon Styling (The orange circle) */
.icon-circle {
    background-color: #ff9900; /* Orange color from the image */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0; 
}

/* Icon Placeholder (Flame/Hand) */
.icon-flame {
    font-size: 30px;
    color: white; 
}

/* Text Content within the card */
.text-content {
    line-height: 1.4;
}

.impact-figure {
    font-size: 1.1em;
    color: #333;
    margin: 0 0 5px 0;
}

.impact-description {
    font-size: 1em;
    color: #666;
    margin: 0;
}

/* --- CTA (Call-to-Action) Section Styling --- */
.cta-section {
    background-color: #38761d; /* A dark green color */
    background-size: cover;
    background-position: bottom;
    padding: 40px 20px;
    text-align: center;
    color: white;
    font-weight: bold;
    border-top: 5px solid #ff9900; /* Orange accent line */
    margin-top: 40px;
}

.cta-text {
    font-size: 1.8em;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 767px) {
    .section-title {
        text-align: center;
    }
    
    .cta-text {
        font-size: 1.4em;
    }
}   

#serviceTabs .nav-link {
    font-weight: bold !important;
    padding: 10px 24px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #ddd;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* subtle base shadow */
}

/* Hover: lifted card effect */
#serviceTabs .nav-link:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,0.18); 
    background: #f8f9fa;
}

/* Active tab: stronger shadow + highlight */
#serviceTabs .nav-link.active {
    background: #0d6efd;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25); 
    border-color: #0a58ca;
}



  /* Desktop: show full description */
  @media (min-width: 769px) {
    .about-description-mobile { display: none; }
  }

  /* Mobile: show short description only */
  @media (max-width: 768px) {
    .about-description-desktop { display: none; }

    /* Ensure image appears first on mobile */
    #about .col-lg-6.order-1 {
      order: 1;
    }
    #about .col-lg-6.order-2 {
      order: 2;
    }

    /* Center button and text for better mobile layout */
    #about .btn {
      display: block;
      width: fit-content;
      margin: 15px auto 0;
    }
  }



.equal-img {
    width: 160px;       /* change size as needed */
    height: 160px;
    border-radius: 50%;
    object-fit: cover;  /* keeps image centered without distortion */
}

.tab-content-section { display: block; } /* Show all on load */
.tab-hidden { display: none !important; }

#serviceTabs .nav-link.active {
    font-weight: bold;
    color: #fff;
    background: #0d6efd;
}



