/* =====================================================================
   DESIGN TOKENS
   Values taken from the reference designs in /Templates (1440px desktop
   frames). Fluid sizes reach the template's pixel value at desktop width
   and scale down for tablet / mobile.
   ===================================================================== */
:root {
  /* --- Brand colours --- */
  --primary-color: #9a1d60;      /* nav bar, panels, ticker */
  --secondary-color: #fe208a;    /* bright pink accents */
  --heading-color: #8b1f53;      /* headings, links, outline buttons */
  --dark-primary: #4a0023;       /* top bar, stats band */
  --light-primary: #ffccd4;      /* footer, member / profile cards */
  --text-color: #262626;         /* body copy */
  --bg-color: #f1f1f1;           /* light grey cards & panels */
  --soft-pink-bg: #fff7f9;       /* testimonials band */
  --muted-text: #c6c6c6;         /* dates / meta */
  --blue-main: #0057b8;          /* Make-A-Wish headings & stats */
  --blue-dark: #0057b8;
  --blue-link: #0390f8;
  --blue-card: #006eb8;
  --light-bg: #e6eef8;

  --main-gradient: linear-gradient(100deg, #ab004b 0%, #e9167b 60%, #fe218a 100%);
  --blue-gradient: linear-gradient(100deg, #16adf5 0%, #077bfe 100%);

  /* --- Typography --- */
  --font-serif: 'Philosopher', Georgia, 'Times New Roman', serif;   /* headings, body, buttons */
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; /* navigation & UI labels */

  --fs-display: clamp(2.25rem, 1.4rem + 2.4vw, 3.4375rem);   /* 36 -> 55px  hero titles */
  --fs-h2: clamp(1.75rem, 1.35rem + 1.15vw, 2.5rem);         /* 28 -> 40px  page & section titles */
  --fs-h3: clamp(1.5rem, 1.2rem + 0.85vw, 2.1875rem);        /* 24 -> 35px  feature titles */
  --fs-h4: clamp(1.25rem, 1.1rem + 0.45vw, 1.5625rem);       /* 20 -> 25px */
  --fs-h5: 1.25rem;                                          /* 20px */
  --fs-h6: 1rem;                                             /* 16px */
  --fs-stat: clamp(2.25rem, 1.5rem + 2.1vw, 3.5625rem);      /* 36 -> 57px  big numbers */
  --fs-lead: clamp(1.125rem, 0.98rem + 0.45vw, 1.4375rem);   /* 18 -> 23px */
  --fs-body: clamp(1.0625rem, 0.97rem + 0.3vw, 1.25rem);     /* 17 -> 20px */
  --fs-small: 0.875rem;                                      /* 14px */
  --fs-nav: 0.65rem;                                         /* 12px */

  --lh-tight: 1.1;
  --lh-heading: 1.2;
  --lh-body: 1.4;

  /* --- Buttons --- */
  --radius-pill: 50rem;
  --btn-fs: 1.125rem;          /* 18px  large / hero buttons */
  --btn-height: 44px;
  --btn-fs-sm: 0.8125rem;      /* 13px  standard outline buttons */
  --btn-height-sm: 32px;

  /* --- Bootstrap mapping --- */
  --bs-body-font-family: var(--font-serif);
  --bs-body-color: var(--text-color);
  --bs-secondary-color: var(--text-color);   /* .text-muted copy is dark grey in the designs */
  --bs-link-color: var(--heading-color);
  --bs-link-color-rgb: 139, 31, 83;
  --bs-link-hover-color: var(--secondary-color);
  --bs-link-hover-color-rgb: 254, 32, 138;
}


/* =====================================================================
   BASE TYPOGRAPHY
   ===================================================================== */
body {
  color: var(--text-color);
  font-family: var(--font-serif);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif) !important;
    font-weight: 700;
    line-height: var(--lh-heading);
}
h1 { font-size: var(--fs-display); line-height: 1.13; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }
a {
    font-family: inherit;
}
p {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--text-color);
    font-size: var(--fs-body);
}
li {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}
/* Paragraphs inside light-on-dark sections keep the section's text colour
   (:where adds no specificity, so any colour class still wins). */
:where(.text-white, .gradient-section, .fund-section, .gallery-card, .blue-gallery-card,
       .makeawish-hero, .help-blue-box, .transparency-section, .join-card,
       .sponsor-strip, .volunteer-gradient, .footer-bottom) p {
    color: inherit;
}


/* =====================================================================
   BUTTONS
   Pill buttons in Philosopher Bold. Standard size = 32px tall / 13px text
   (outline buttons across the site); .hero-btns = 44px / 18px.
   Each variant only sets colour variables; hover / active / focus states
   are wired into Bootstrap's .btn variables so both work together.
   ===================================================================== */
.btn-donate,
.btn-light-custom,
.btn-outline-custom,
.btn-outline-pink,
.btn-outline-white,
.btn-pink {
    --bs-btn-hover-color: var(--btn-hover-color);
    --bs-btn-hover-bg: var(--btn-hover-bg);
    --bs-btn-hover-border-color: var(--btn-hover-border);
    --bs-btn-active-color: var(--btn-hover-color);
    --bs-btn-active-bg: var(--btn-hover-bg);
    --bs-btn-active-border-color: var(--btn-hover-border);
    --bs-btn-focus-box-shadow: 0 0 0 0.2rem rgba(154, 29, 96, 0.35);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: var(--btn-height-sm);
    padding: 0.3rem 1.25rem;
    font-family: var(--font-serif);
    font-size: var(--btn-fs-sm);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    color: var(--btn-color);
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    border-radius: var(--radius-pill);
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-donate:hover,
.btn-light-custom:hover,
.btn-outline-custom:hover,
.btn-outline-pink:hover,
.btn-outline-white:hover,
.btn-pink:hover,
.btn-donate:focus-visible,
.btn-light-custom:focus-visible,
.btn-outline-custom:focus-visible,
.btn-outline-pink:focus-visible,
.btn-outline-white:focus-visible,
.btn-pink:focus-visible {
    color: var(--btn-hover-color);
    background: var(--btn-hover-bg);
    border-color: var(--btn-hover-border);
    transform: scale(1.05);
}

.btn-donate:focus-visible,
.btn-light-custom:focus-visible,
.btn-outline-custom:focus-visible,
.btn-outline-pink:focus-visible,
.btn-outline-white:focus-visible,
.btn-pink:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Large buttons (hero / page header calls to action) */
.hero-btns .btn-light-custom,
.hero-btns .btn-outline-custom {
    min-height: var(--btn-height);
    font-size: var(--btn-fs);
}

/* Donate Button (white pill: header + newsletter) */
.btn-donate {
    --btn-color: var(--primary-color);
    --btn-bg: #ffffff;
    --btn-border: #ffffff;
    --btn-hover-color: var(--primary-color);
    --btn-hover-bg: #f1f1f1;
    --btn-hover-border: #f1f1f1;
}
/* white button */
.btn-light-custom {
    --btn-color: var(--primary-color);
    --btn-bg: #ffffff;
    --btn-border: #ffffff;
    --btn-hover-color: #ffffff;
    --btn-hover-bg: var(--primary-color);
    --btn-hover-border: #ffffff;
}

/* transparent white border button */
.btn-outline-custom,
.btn-outline-white {
    --btn-color: #ffffff;
    --btn-bg: transparent;
    --btn-border: #ffffff;
    --btn-hover-color: var(--primary-color);
    --btn-hover-bg: #ffffff;
    --btn-hover-border: #ffffff;
}

.btn-outline-pink {
    --btn-color: var(--heading-color);
    --btn-bg: transparent;
    --btn-border: var(--heading-color);
    --btn-hover-color: #ffffff;
    --btn-hover-bg: var(--heading-color);
    --btn-hover-border: var(--heading-color);
}

/* --- Gradient Section (page title band) --- */
.gradient-section {
    background: var(--main-gradient);
    padding: 3.5rem 0;
    color: white;
}
.gradient-section h2,
.gradient-section h3 {
    margin-bottom: 0.5rem;
}
.gradient-section p {
    font-size: var(--fs-body);
    margin-bottom: 0;
}
.gradient-section-text {
    max-width: 300px;
    margin: 0 auto;   /* this centers the block */
    text-align: center;
    color: white;
    opacity: 0.75;
}

/* Push all internal site content down uniformly to clear the combined top bar and navbar height */
body.page, 
body.single, 
body.archive, 
body.woocommerce-page {
    padding-top: 90px !important; /* This matches the physical height combined of your top bar and maroon navigation bar */
}

/* Ensure responsive devices scale the viewport spacer row naturally */
@media (max-width: 768px) {
    body.page, 
    body.single, 
    body.archive, 
    body.woocommerce-page {
        padding-top: 110px !important; /* Slightly smaller padding gap offset rules for compact mobile nav headers */
    }
}

/* ===================================================Navbar========================================================= */
/* Top Bar Styling */
.top-bar {
    background-color: var(--dark-primary);
    font-family: var(--font-sans);
    font-size: var(--fs-nav);
    font-weight: 600;
}

/* Styling for clickable links in top bar */
.top-bar-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.facebook-text {
    letter-spacing: 1px;
    font-family: 'Arial Black', sans-serif; /* Mimics the Facebook logo font style */
}

.divider {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Main Nav Styling */
.main-nav {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
}
.dropdown-menu {
    /* background-color: var(--bg-color);  */
    border: none;
    padding: 12px 20px 16px;
    border-radius: 0px !important;
    margin-top: 10px;
}

.dropdown-item {
    color: var(--heading-color);
    font-family: var(--font-sans);
    font-size: var(--fs-nav);
    font-weight: 500;
    padding: 8px 8px 8px 0px;
    border-bottom: 1px solid rgba(139, 31, 83, 0.3); /* Light pink separator line */
    transition: background-color 0.2s ease;
}
.dropdown-menu li:last-child .dropdown-item {
    border-bottom: 0;
}

.nav-item.active {
  text-decoration: underline;
}

.logo-container {
    border: 0.5px solid #ddd;
}

.nav-link {
    color: #ffffff !important;
    font-family: var(--font-sans);
    font-weight: 500;
    margin: 0 5px;
    font-size: var(--fs-nav);
    text-decoration: none;
    text-underline-offset: 6px;
    position: relative;
    padding-bottom: 5px; /* space between text and underline */
}
@media (min-width: 1200px) {
    .main-nav .navbar-nav .nav-link {
        margin: 0 10px;
    }
}
.main-nav .btn-donate {
    font-family: var(--font-sans);
    font-weight: 600;
}

.border-bottom-white {
    border-bottom: 2px solid white;
}

/* Round Search Icons */
.btn-circle {
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.icon-pink {
  color: var(--primary-color);
  font-size: 14px; /* optional */
}







/* 1. Add offset to body so content starts below the fixed header */
body {
    padding-top: 115px; /* Adjust this value based on your header's actual height */
}

/* 2. Ensure the fixed container has a solid background and stays on top */
.fixed-top {
    z-index: 1030;
    background-color: var(--primary-color);
}

/* 3. Smooth transition for mobile menu */
@media (max-width: 991px) {
    .Commitment-img {
    max-width: 200px !important;
    }

    body {
        padding-top: 80px; /* Smaller padding for mobile as top-bar is hidden */
    }
    
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 0 0 10px 10px;
    }
}

/* 4. Fix for dropdown scrolling */
.dropdown-menu {
    position: absolute; /* Ensures dropdowns don't push the fixed header down */
}

/* ==========================================================Footer=================================================== */
/* Footer Styles */
.footer-section {
    background-color: var(--light-primary) ;
    color: var(--heading-color) ;
    font-size: 1.125rem;
    line-height: 1.5;
}

.footer-nav .nav-link {
    color: var(--primary-color) !important;
    font-size: 1.0625rem;
    font-weight: 400;
    margin: 0 0.75rem;
}

.footer-logo {
    max-width: 90px;
    height: auto;
}

.contact-info,
.contact-info p,
.contact-info a {
    color: var(--heading-color);
    font-size: 1.125rem;
    line-height: 1.5;
}

/* Responsive tweaks */
/* Underline active link */
.nav-link.active {
  text-decoration: underline;
}

/* Underline on hover (optional, if you want it on hover too) */
.nav-link:hover {
  text-decoration: underline;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* Optional: remove animation delay */
}

/* Underline parent nav-link on dropdown hover */
.nav-item.dropdown:hover > .nav-link {
  text-decoration: underline;
}

.donation-text {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    color: var(--primary-color);
}

/* Bottom Bar */
.footer-bottom {
    background-color: var(--heading-color); /* Matches the dark berry color */
    color: #ffffff;
}

.italic-copyright {
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 0;
}


/* ====================================================Home Page======================================================== */
/* -----------Section 1----------- */
/* Hero Styles */
.hero-section {
  min-height: 75vh;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: linear-gradient(302deg, rgba(254, 32, 138, 0.85) 0%, rgba(171, 0, 79, 0.9) 100%);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section .container {
  position: relative;
  z-index: 1; /* Keeps text and buttons above the image */
}
.hero-section h1 {
    max-width: 800px;
}
.subtitle{
    max-width: 480px;
    font-size: var(--fs-body);
    line-height: 1.2;
}


/* -----------Section 2----------- */
/* What We Do Styles */
.what-we-do-section em{
    font-style: normal;
    color: var(--heading-color);
}
.what-we-do-section p {
    font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.3125rem);   /* 21px on desktop */
}
.section-title {
    color: var(--heading-color);
    font-weight: bold;
}

.highlight {
    color: var(--heading-color);
}

/* IMAGE CONTAINER */
.whatwedo-image-wrapper {
  position: relative;
  display: inline-block;
}

/* Pink corner shape (pure CSS) */
.whatwedo-image-wrapper::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  width: 150px;
  height: 150px;
  background-color: var(--primary-color);
  z-index: 0;
}

/* Fixed-size image box */
.whatwedo-image-box {
  width: 100%;
  max-width: 520px;
  height: 340px;                 
  overflow: hidden;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  background: #f2f2f2;
}

/* Image behavior */
.whatwedo-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;              
  display: block;
}

/* Logo */
.whatwedo-logo {
  position: absolute;
  bottom: 10px;    
  left: 10px;   
  width: 60px;  /* Adjust the logo size */
  z-index: 2;
}


/* -----------Section 3----------- */
/* Normal top (curved) */
.card-top {
  background-color: var(--heading-color);
  color: #fff;
  padding: 30px 10px;
  border-bottom-left-radius: 50% 44%;
  border-bottom-right-radius: 50% 44%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s ease;
}
/* Ensuring all card-top images have the same size */
.card-top img {
  width: 50%;  /* Ensure the image fills the container */
  height: 100%; /* Set a fixed height for all images */
  object-fit: cover; /* Maintain aspect ratio without stretching the image */
  
}


.programme-card.text-only {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Hover content hidden by default */
.card-hover-content {
    position: absolute;
    inset: 0;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Show hover version */
.programme-card:hover .card-hover-content {
    opacity: 1;
}

/* Hover = featured look */
.programme-card:hover {
    background-color: var(--primary-color);
    transform: translateY(-6px);
}

/* Text-only card stays active always */
.programme-card.text-only .card-top,
.programme-card.text-only .card-bottom {
    display: none;
}

.programme-card.text-only .card-hover-content {
    opacity: 1;
    position: static;
}


/* Card base */
.programme-card {
  position: relative;
  background: var(--bg-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  min-height: 300px;
}



.card-bottom {
  padding: 15px 12px;
  color: var(--heading-color);
  transition: opacity 0.2s ease;
}
.card-bottom p {
  font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);   /* 20px on desktop */
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading-color);
  margin-bottom: 0;
}

/* ---------------- HOVER STATE ---------------- */

.card-hover {
  position: absolute;
  inset: 0;
  background-color: var(--heading-color);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card-hover-inner {
  text-align: center;
  color: #ffffff;
  max-width: 230px;
}

/* LOGO IMAGE */
.hover-logo {
  width: 42px;
  height: auto;
  margin-bottom: 14px;
}

/* Text */
.hover-text {
  font-size: clamp(0.9375rem, 0.8rem + 0.3vw, 1.125rem);   /* 18px on desktop */
  font-weight: 700;
  line-height: 1.28;
  margin: 0;
  color: #f1f1f1;
}

/* Hide original content */
.programme-card:hover .card-top,
.programme-card:hover .card-bottom {
  opacity: 0;
}

/* Show hover content */
.programme-card:hover .card-hover {
  opacity: 1;
  visibility: visible;
}

/* Wrapper controls overlap */
.core-programmes-wrapper {
  position: relative;
  z-index: 2; /* cards on top */
  margin-bottom: -120px; /* overlap amount */
}

/* -----------Section 4----------- */
/* Stats bar goes behind */
.stats-bar {
  position: relative;
  background-color: var(--dark-primary);
  z-index: 1;
  padding-top: 120px !important; /* compensate overlap */
}
.stats-bar h2 {
  font-size: var(--fs-stat);
  line-height: var(--lh-tight);
  margin-bottom: 0.25rem;
}
.stats-bar p {
  font-size: 1.125rem;
}

/* -----------Section 5----------- */
/* Make a Difference */
.text-light-pink {
    color: var(--secondary-color);
}
/* Heading is solid pink in the design (not the gradient used elsewhere) */
.make-difference h2.gradient-text {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}
.sub-topic{
    color: var(--heading-color);
    font-size: var(--fs-lead);
    line-height: 1.15;
}
.italic {
    font-style: italic;
}

.custom-list li {
    margin-bottom: 12px;
    font-size: 14x;
    color: var(--text-color);
}

.custom-list .bullet {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* Ticker Bar */
.ticker-bar {
    background-color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}
.ticker-bar marquee {
    display: block;
    padding-block: 0.6rem;
}



.make-difference {
    position: relative;
    min-height: 500px;
    background-color: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* The Image Background Container */
.make-difference-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /* Replace with actual image path */
    background-size: cover;
    background-position: right center;
    z-index: 1;
}

/* The Gradient Overlay */
.make-difference-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: Solid light grey on left, transparent on right */
    background: linear-gradient(to right,
        rgba(245, 245, 245, 1) 0%,
        rgba(245, 245, 245, 1) 40%,
        rgba(245, 245, 245, 0) 80%
    );
    z-index: 2;
}

/* Content positioning */
.make-difference-content {
    position: relative;
    z-index: 3;
    padding: 80px 0;
}


.action-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.action-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 1.1rem;
    color: var(--text-color);
    line-height: 1.15;
}

/* Custom dot for the list */
.action-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--dark-primary);
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .make-difference-overlay {
        background: linear-gradient(to bottom, 
            rgba(255, 255, 255, 0.9) 0%, 
            rgba(255, 255, 255, 0.7) 100%
        );
    }
    .make-difference-content {
        text-align: center;
        padding: 50px 20px;
    }
    .action-list {
        display: inline-block;
        text-align: left;
    }
}
/* -----------Section 6----------- */
/* Slider Container */
.bg-light-pink {
    background-color: var(--soft-pink-bg);
}

.testimonial-container {
    max-width: 640px;
    padding: 0 60px; /* Space for arrows */
}
.testimonial-author p {
    font-size: 0.875rem;
    line-height: 1.15;
}




.avatar-circle {
    width: 40px;
    height: 40px;
    background-color: var(--heading-color);
    border-radius: 50%;
}

/* Custom Navigation Styling */
.custom-ctrl {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    color: var(--heading-color);
    font-size: 2rem;
    transition: 0.3s;
}

.custom-ctrl:hover {
    color: var(--secondary-color);
}
.text-start{
    color: var(--primary-color);
}


/* -----------Section 7----------- */
/* Transparency Section */
.transparency-section {
    background: var(--main-gradient);
    position: relative;
    padding-bottom: 0 !important;
}
.transparency-section > .container > .text-center > p {
    font-size: var(--fs-lead);
}
.Commitment-section span {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.15;
}

.badge-custom {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    font-size: 1.125rem;
    color: #c5bebe;
    opacity: 0.85;
}

.drop-shadow {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.transparency-footer {
    background-color: var(--primary-color);
    font-size: 0.9rem;
}
.transparency-footer p:first-child {
    font-size: var(--fs-lead);
}
.transparency-footer p.small {
    font-size: 1.125rem;
}

/* -----------Section 8----------- */

.card-img-wrapper{
    border-radius: 30px;
}
/* Additional styling for carousel and its elements */
.carousel-inner {
    position: relative;
    width: 100%;
}

.carousel-control-prev, .carousel-control-next {
    z-index: 10;
}
.owl-carousel .owl-stage-outer{
    padding-bottom: 3rem!important;
}



.custom-carousel-btn:hover {
    background-color: var(--secondary-color);
}

/* Position arrows outside the card area on desktop */
.custom-prev-btn { 
    left: -30px; 
}
.custom-next-btn { 
    right: -30px; 
}


/* Owl carousel equal height setup */
.latest-updates-carousel .owl-stage {
    display: flex;
}

.latest-updates-carousel .owl-item {
    display: flex;
}

.card-wrapper {
    display: flex;
    height: 100%;
}

.update-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card body flex */
.update-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Push button to same level */
.update-card .card-btn {
    margin-top: auto;
}




/* --- Carousel Container Styling --- */
.update-card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

/* Base card width for Desktop (4 cards) */
.update-card-wrapper {
    flex: 0 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
}

/* TABLET: Show 2 cards (Adjusting width to 50%) */
@media (max-width: 991px) {
    .update-card-wrapper {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* MOBILE: Show 1 card (Adjusting width to 100%) */
@media (max-width: 576px) {
    .update-card-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .update-card-container {
        gap: 0;
    }
}

/* Image Scaling */
.fixed-size-img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    aspect-ratio: 3 / 2;
}

/* Navigation Arrows Position */
.custom-carousel-btn {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color); /* ICT Berry Color */
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev { left: -50px; }
.carousel-control-next { right: -50px; }

/* Mobile Arrows (Move inside so they don't clip) */
@media (max-width: 1200px) {
    .carousel-control-prev { left: 0; }
    .carousel-control-next { right: 0; }
}







    

/* -----------Section 9----------- */
/* Join Community Section */

.join-community-wrapper {
    background: linear-gradient(to bottom, #ffffff 50%, var(--light-primary) 50%); /* Half white, half light pink footer bg */
}

.join-card {
    background-color: var(--heading-color); /* Dark Primary Berry */
    border: none;
}
.join-card p.small {
    font-size: 1.125rem;
}

.community-heading{
    padding: 0 6rem;
}
.join-card .community-heading {
    font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4.0625rem);   /* 65px on desktop */
    line-height: 1;
}
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    border: 1px solid white;
    transition: 0.3s;
}

.social-icon:hover {
    background: white;
    color: var(--primary-color);
}


/* Card Hover Effect */
.update-card {
    transition: transform 0.3s ease;
}
.update-card:hover {
    transform: translateY(-5px);
}

.Commitment-img{
    max-width: 350px;
    height: auto;
}

.Commitment-section{
    padding-left: 4rem;
}
.Commitment-text{
    /* max-width: 380px; */
    color: white;
    font-size: var(--fs-lead);
    line-height: 1.15;
}
.latest-updates > .container > p.text-pink {
    font-size: var(--fs-lead);
}
.latest-updates .update-card{
    background: #fafafa;
    --bs-secondary-color: var(--muted-text);   /* date line */
}
.latest-updates .update-card .text-muted {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
}
.latest-updates .card-title{
    font-size: var(--fs-h6);
    line-height: 1.25;
}

.newsletter-form input {
    border-radius: 50px;
    padding: 12px 20px;
}

.newsletter-form .btn {
    border-radius: 50px;
    white-space: nowrap;
}
.newsletter-line-input {
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 8px;
}

.line-input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    width: 100%;
    font-size: 1rem;
}

.line-input::placeholder {
    color: rgba(255,255,255,0.7);
}
/* =========================================STORY PAGE============================================ */


/* ----------- Section 1---------- */
.description-scroll-container {
    height: 550px; /* Adjust to match your image height */
    overflow-y: auto;
    
    /* THE TRICK: Flip the container to RTL to move scrollbar to the left */
    direction: rtl; 
    
    /* Gutter spacing between image and scrollbar */
    padding-left: 10px; 
    
    /* Cross-browser support for Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f8f8f8;
}

/* Revert text direction back to normal for the content inside */
.description-scroll-container > * {
    direction: ltr; 
    padding-left: 20px; /* Space between the scrollbar and the text */
}

/* Custom Scrollbar for Chrome, Safari, and Edge */
.description-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.description-scroll-container::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 10px;
}

.description-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.description-scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: var(--secondary-color);
}

.story-content p {
    font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.3125rem);   /* 21px on desktop */
    line-height: 1.38;
    margin-bottom: 1.38em;
}

/* ---------------section 2---------------- */

.our-story-slider img{
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%; /* Makes them circles */
    background-color: var(--heading-color);
    border: none; /* Removes the default border */
    padding: 0;
    margin: 0 6px;
    transition: all 0.3s ease;
    opacity: 1; /* Bootstrap defaults to 0.5 opacity */
}

/* 2. Active Dot Styling */
.carousel-indicators .active {
    background-color: #ccc !important; 
    width: 12px;
    height: 12px;
}

/* 3. Ensure indicators container doesn't overlap content */
.carousel-indicators {
    margin-bottom: -20px; /* Adjust spacing as needed */
}

.story-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

/* Space between cards */
.story-carousel .owl-item {
    padding: 10px;
}

/* Center dots */
.story-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.story-carousel .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 5px;
    background: #d6d6d6;
    display: block;
    border-radius: 50%;
}

.story-carousel .owl-dot.active span {
    background: var(--heading-color); /* pink active dot */
}

/* ----------- Section 3 -------------- */

/* Video Box Styling */
.video-box-small {
    width: 100%;
    max-width: 850px; /* Limits the video size */
    margin: 0 auto;
    z-index: 10; /* Ensures the video box is positioned correctly */
    position: relative;
}

.play-btn-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--heading-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover Effect for Play Button */
.play-btn-wrapper:hover {
    transform: scale(1.1);
    background-color: #fff;
}

/* Video Section Styling */
.story-video-section {
    padding-bottom: 0 !important; /* Ensures no bottom padding */
}

/* Custom Button for the Link */
.button.line-blue {
    display: none; /* Keep it hidden since we're using the play button in the center */
}

/* Embed Video Size */
.ratio-16x9 iframe {
    object-fit: cover;
}







/* ============================Our Structure & Leadership Page==================================== */

/* --- Global Heading Color --- */
.patron-name, .section-heading {
    color: var(--heading-color);
    font-weight: 700;
}
.patron-name {
    font-size: clamp(1.25rem, 1.05rem + 0.55vw, 1.5rem);   /* 24px on desktop */
}



/* --- Patron Section --- */
.patron-label {
    display: inline-block;
    background-color: var(--heading-color);
    color: white;
    padding: 0 0.3em;
    font-size: var(--fs-h2);
    line-height: 1.15;
    font-weight: bold;
    border-radius: 0;
}

/* Board of Trustees section */
.profile-card {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: #fff;
  text-align: center;
  height: 100%;
}

.profile-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  object-position: top;
}
.profile-name {
  background-color: var(--light-primary);
  padding: 14px 10px;
  height: 100%;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--primary-color);
  line-height: 1.25;
}

/* Management Role Specific Text */
.role-text {
    font-size: 0.65rem;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.profile-card:hover {
    transform: translateY(-5px);
}


/* =========================================== Our Team =============================================== */

.text-pink {
    color: var(--heading-color);
}
.lead-text {
    font-size: var(--fs-body);
}
.cta-banner-pink h4 {
    font-size: var(--fs-h4);
    line-height: 1.15;
}
.cta-banner-pink span {
    font-size: var(--fs-small);
}

/* CTA Banner Gradient & Background */
.cta-banner-pink {
    background: var(--main-gradient);
    box-shadow: 0 10px 30px rgba(152, 29, 96, 0.3);
}

/* --- Leadership Card Styles --- */

.member-card {
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-8px);
}

/* Rounded Top of Image */
.member-img {
    width: 170px;
    aspect-ratio: 1 / 1.1; /* Slightly vertical square */
    overflow: hidden;
    border-radius: 25px 25px 0 0; 
}

.member-img img {
    width: 170px;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Rounded Bottom of Pink Box */
.member-details {
    background-color: var(--light-primary); /* ICT Light Pink */
    padding: 15px 10px;
    border-radius: 0 0 25px 25px;
    text-align: left;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 170px;
    
}

.member-details .name {
    color: var(--primary-color); /* ICT Berry Color */
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 5px;
    margin-left: 2px;

}

.member-details .role {
    color: var(--primary-color);
    font-size: 10px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.75;
    margin-left: 2px;

}

.team-group-photo img{
    width: 450px;
    height: 100%;
    border-radius: 15px;
    margin-top: 50px;
}

/* ================================== Partners & Collaborators Page===================================================*/


/* ========== HEADER STRIP ========== */


/* ========== MAIN PARTNER SECTION ========== */
.partner-text {
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Fixed logo container */
.partner-logo-box {
  max-width: 350px;
  margin: 0 auto;
}

.partner-logo-box img {
  width: 100%;
  height: 300px;
  display: block;
}

/* ========== STRATEGIC PARTNERS ========== */
.strategic-partners {
  background: white;
}

.section-sub {
  max-width: 900px;
  margin: 0 auto;
  font-size: var(--fs-body);

}

.logo-sec {
  margin-top: 60px;
  column-gap: 2rem;
  row-gap: 2rem;
}

/* Fixed logo container */
/* .partner-logo-small {
  width: 200px;       
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
} */

/* Logo behavior */
.partner-logo-small img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.logo-sec-one {
  margin-top: 60px;
  column-gap: 1.5rem;
  row-gap: 2rem;
}

/* Logo behavior */
.logo-sec-one .partner-logo-small img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}


/* ==========================================Our Impact Page============================================================ */
/* Card */
.policy-card {
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Fixed image area */
.policy-image-box {
  width: 100%;
  height: 360px;               /*  fixed height */
  overflow: hidden;
}

.policy-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer overlay */
.policy-card-footer {
  background: #000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.policy-logo {
  width: 46px;
  height: auto;
}

.policy-title {
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* Carousel nav buttons */
.policy-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--light-primary);
  border-radius: 50%;
  border: none;
  color: var(--heading-color);
  font-size: 20px;
  opacity: 1;
}

.carousel-control-prev.policy-nav {
  left: -16px;
}

.carousel-control-next.policy-nav {
  right: -16px;
}


/* ============================== Partners & Collaborators-1 Page =====================================================*/
/* Grid (NO rows – dynamic friendly) */
.memberships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 205px); /* 🔥 FIX */
  gap: 40px;
  justify-content: center;   /* centers last row */
  align-items: center;
}

.membership-card {
  width: 200px;              /* fixed card width */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

/* Logo container (fixed height) */
.membership-logo {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.membership-logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* =====================================Suwa Arana Paediatric Support Centre Page=================================== */

.Paediatric-text{
    max-width: 350px;
    margin: 0 auto;   /* this centers the block */
    text-align: center;
    color: white;
}

.content-text {
  margin-bottom: 14px;
}

/* Fixed image container */
.paediatric-image-box {
  width: 100%;
  max-width: 480px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 55px;
}

.paediatric-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------- SPONSOR STRIP ------------ */
.sponsor-strip {
  background: var(--main-gradient);
  padding: 50px 15px;
  color: #fff;
}

.sponsor-strip h3 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.48rem);   /* 56px on desktop */
  letter-spacing: 0;
}

.sponsor-strip p {
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.75rem);    /* 28px on desktop */
  letter-spacing: 0;
}

/* --------------- FOOTER STRIP --------------- */
.sponsor-footer {
  background: var(--primary-color);
  padding: 20px 15px;
  color: #fff;
}

.sponsor-footer p {
  font-size: var(--fs-body);
  letter-spacing: 0;
}

/* =====================================Support for adults With Cancer Page=================================== */

.fund-section{
    background-color: var(--primary-color);
}

.fund-text-section{
    padding-top: 80px;
    padding-bottom: 2rem;
}
.fund-text-section h2,
.fund-text-section h3 {
    font-size: var(--fs-h3);
}
.fund-text-section h5 {
    font-size: var(--fs-h4);
    font-weight: 700;
}
/* Fund description & bullet list: bold copy in the design */
.fund-text-section .content-wrapper > div,
.fund-text-section .content-wrapper > p {
    font-weight: 700;
    font-size: clamp(1rem, 0.9rem + 0.3vw, 1.25rem);
    line-height: 1.3;
}
.fund-text-section .content-wrapper > div p {
    font-size: inherit;
    line-height: inherit;
}
.fund-text-section li {
    font-size: var(--fs-small);
    font-weight: 700;
    line-height: 1.3;
}
.fund-section .display-3 {
    font-size: clamp(2.5rem, 1.7rem + 2.3vw, 3.8rem);   /* 60px on desktop */
    line-height: 1;
}
.overlay, .revers-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(144, 26, 94, 0) 0%, var(--primary-color) 100%);
}

.revers-overlay {
    background: linear-gradient(to left, rgba(144, 26, 94, 0) 0%, var(--primary-color) 100%);
}

.z-1 { z-index: 1; }


/* =========================================Children of Courage Page================================================= */



.coc-gradient-section-text{
    max-width: 450px;
    margin: 0 auto;   /* this centers the block */
    text-align: center;
    color: white;
    opacity: 0.75;
}

/* 1. Bullet Points with ICT Berry Color */
.coc-benefit-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1.125rem;
    line-height: 1.2;
}

.coc-benefit-list li::before {
    content: "•";
    color: var(--heading-color); /* Brand Berry Color */
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* 2. Fixed Aspect Ratio Image Container */
.fund-image-container {
    width: 100%;
    aspect-ratio: 4 / 3; /* Maintains standard photo proportions */
    background-color: #f8f9fa;
}

.fund-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures any image fills the 4:3 area without distortion */
}


/* -------------------------------make a wish Page -------------------------------------*/
/* ================= HERO ================= */
.makeawish-hero {
  background: var(--blue-gradient);
  padding: 10px 15px 70px 15px;
  color: #fff;
}
.makeawish-subtitle p,
.help-desc p {
  color: inherit;
}
.makeawish-hero img{
    width: 500px;
}

.makeawish-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.makeawish-subtitle {
  line-height: 1.6;
  margin-top: -40px;
  opacity: 0.95;
}

/* ================= CONTENT ================= */
.makeawish-text {
  line-height: 1.75;
  margin-bottom: 16px;
}
.makeawish-text p {
  text-align: justify;
}

.makeawish-link {
  color: var(--blue-link);
  text-decoration: none;
  font-weight: 500;
}

.makeawish-link:hover {
  text-decoration: underline;
}

/* fixed image container (any image size fits) */
.makeawish-image-box {
  width: 100%;
  max-width: 520px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
  background: white;
}

.makeawish-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}





/* ================= WHY WISHES ================= */
.help-section{
    background: var(--light-bg);
}

.why-title {
  color: var(--blue-main);
  font-weight: 700;
}

.why-desc {
  max-width: 940px;
  color: var(--text-color);
  line-height: var(--lh-body);
}

.why-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  background-color: var(--blue-dark);
}
.why-icon-circle img{
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.why-icon-text {
  font-size: 1.125rem;
  color: var(--blue-main);
  line-height: 1.2;
  margin: 0;
}

/* ================= HELP SECTION ================= */
.help-stats {
  background: var(--light-bg);
}

.help-stat-number {
  font-size: var(--fs-stat);
  color: var(--blue-main);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}

.help-stat-text {
  font-size: 1.125rem;
  color: var(--blue-main);
  margin: 0;
}

/* Blue box */
.help-blue-box {
  background: var(--blue-gradient);
  padding: 50px 20px;
  margin-top: -25px; /* pull up like screenshot */
  color: #fff;
}

.help-title {
  font-weight: 700;
  font-size: var(--fs-display);
}

.help-desc {
  max-width: 650px;
  opacity: 0.95;
  font-size: var(--fs-h4);
  line-height: 1.2;
}

/* ====================================== Children with cancer ========================================================== */
.children-donation-text{
    padding-top: 10px;
    max-width: 750px;
    margin: 0 auto;   /* this centers the block */
    text-align: center;
    color: white;
    opacity: 0.75;
}


/* =============================== Volunteer with us ================================================================ */
.volunteer-title{
    color: var(--secondary-color);
}
.volunteer-title .display-2 {
    font-size: clamp(3.5rem, 2rem + 5vw, 7.8rem);   /* 125px on desktop */
    line-height: 1;
    margin-bottom: 0;
}
.impact-stats .volunteer-title {
    font-size: clamp(3rem, 1.8rem + 3.4vw, 5.4rem);   /* 86px on desktop */
    line-height: 1;
    margin-bottom: 0;
}

.volunteer-text{

    font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.15rem);   /* 35px on desktop */
    color: var(--heading-color);
}

.gradient-text {
  background: var(--main-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.why-volunteer-section{
    background-color: var(--primary-color);
}
.why-volunteer-icon-text{
    text-align: start;
    color: white;
    opacity: 0.75;
    padding-right: 45px;
    font-size: 1.125rem;
    line-height: 1.2;
}

.why-volunteer-icon{
    display: flex;
    align-items: start;
    justify-content: start;
    color: #fff;
    font-size: 20px;
}
.why-volunteer-icon img{
    height: 100%;
    width: 50px;
}

.stats-container {
    position: absolute;
    bottom: 40px;
    width: 100%;
    z-index: 2;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 5px;
}
.volunteer-gradient{
    background: var(--main-gradient);
    padding: 80px 0;
    color: white;
    margin-top: -20px;
}

/* Icons and circles */
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
}

/* Statistics Typography */
.stat-number {
    color: white;
    font-size: 2.5rem;
    font-weight: 400;
}

.stat-label {
    color: white;
    font-weight: 500;
}

/* Step Cards */
.step-card {
    background: white;
    color: #333;
    padding: 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 80px;

}
.join-cards{
    position: absolute;
    margin-top: -20px;
}
/* ====================================================gallery============================================================ */


.header-section {
    color: var(--primary-color);
    background-color: white;
    padding: 50px 0;
}
.header-section h1.gradient-text {
    font-size: clamp(4rem, 2.6rem + 4vw, 6.25rem);   /* 100px on desktop */
    font-weight: 400;
    line-height: 1;
}
.step-text p {
    color: var(--dark-primary);
    line-height: 1.2;
}
.section-title {

    font-weight: bold;
}
.content-section {
    margin-top: 50px;
    color: #fff;
}
.content-section img {
    width: 100%;
    height: auto;
}
.gallery-content-text {
    color: white;
    font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.3125rem);
    line-height: 1.4;
}
.gallery-text-title{
    max-width: 300px;
    font-size: var(--fs-h3);
    line-height: 1.1;
}
.gallery-card{
    background-color: var(--primary-color);
    padding: 2rem 3rem;
    flex-grow: 1;
    color: white;
}
.blue-gallery-card{
    background-color:var(--blue-card);
    padding: 2rem 3rem;
    flex-grow: 1;
    color: white;
}

.gallery-img{
    height: 100% !important; 
    object-fit: cover; 
    padding:8px
}
.gallery-wrapper {
    background: linear-gradient(to bottom, #ffffff 70%, var(--light-primary) 50%); /* Half white, half light pink footer bg */
}



/* ---------------------------------Donate Page---------------------------------------------------- */

.volunteer-heading {
    color: var(--heading-color);
    font-weight: 500;
    line-height: 1.1;
}
/* Donate page header: two sub-taglines + large outline CTAs */
.donate-section h6 {
    font-size: var(--fs-h4);
    font-weight: 400;
    margin: 0 1.5rem;
}
.donate-section > p {
    font-size: var(--fs-body);
}
.volunteer-intro .text-pink {
    line-height: 1.1;
}

/* --- Logo Constraints --- */
.volunteer-logo {
    max-width: 320px; /* Ensures the logo size matches the screenshot proportions */
    height: auto;
}

/* --- Message Slider Styling --- */
.message-slider-section {
    background-color: #f6f6f6;
    border-top: 1px solid #eee;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.slider-message {
    color: var(--primary-color);
    font-size: var(--fs-h4);
    font-weight: 400;
    margin: 0;
    text-align: center;
}

.slider-nav {
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    user-select: none;
}

.slider-nav:hover {
    opacity: 0.6;
}

/* --- Healing Carousel Responsive Styling --- */

.healing-img-box img {
    width: 100%;
    height: 350px; /* Set a fixed height for consistency */
    object-fit: cover;
    border-radius: 20px;
}



.healing-arrow-icon {
    color: var(--heading-color); /* Brand Color */
    font-size: 2rem;
    font-weight: bold;
}

.healing-title {
  color: var(--heading-color);
  font-weight: 700;
}

.healing-subtitle {
  max-width: 780px;
  
}

/* Image Container (fixed size - any image fits) */
.healing-img-box {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f2f2;
}

.healing-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel Arrow buttons */
.healing-carousel {
  position: relative;
  padding: 0 55px; /* space for arrows */
}

.healing-arrow {
  width: 45px;
  height: 45px;
  background: #f3f3f3;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.healing-arrow:hover {
  background: #eaeaea;
}

.carousel-control-prev.healing-arrow {
  left: 0;
}

.carousel-control-next.healing-arrow {
  right: 0;
}

.healing-arrow-icon {
  font-size: 28px;
  color: var(--dark-primary);
  font-weight: 600;
  line-height: 1;
}

/* Remove bootstrap default icon */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none;
}



/* ===========================================RESPONSIVE================================================================
======================================================================================================================== */


@media (max-width: 991px) {

/* ------------------Navbar---------------- */
    .navbar-nav {
        padding: 20px 0;
    }
    .main-nav .navbar-nav .nav-link,
    .main-nav .dropdown-item {
        font-size: 0.9375rem;   /* larger touch targets in the collapsed menu */
    }
    .main-nav .navbar-nav .nav-link {
        padding-block: 0.6rem;
    }
    .contact-info,
    .contact-info p,
    .contact-info a {
        font-size: 1rem;
    }
    .btn-donate {
        margin-top: 10px;
        width: 100%;
    }

/* ------------------Home---------------- */
    .hero-section {
        text-align: center;
        min-height: 60vh;
    }
    .hero-btns {
        justify-content: center;
    }
    .image-stack {
        margin-bottom: 40px;
    }

    .transparency-section .col-lg-5 {
        margin-top: 40px;
    }

    .testimonial-text {
        font-size: 1.25rem;
    }


    .join-community-wrapper {
        background: var(--light-primary); /* Solid footer bg color on mobile */
    }
    .community-heading {
        padding: 0 1rem;
    }

/* --------------------Story Page----------------------------------------- */

    .description-scroll-container {
        height: auto;
        overflow: visible;
        direction: ltr; /* Reset direction on mobile */
        padding-left: 0;
    }
    .description-scroll-container > * {
        padding-left: 0;
    }

    .video-box-small {
        max-width: 90%; /* Let it grow slightly on smaller screens */
    }
    
    

    .play-btn-wrapper {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

    .paediatric-image-box{
        margin: 0 ;
    }

    /* -----------------Children of Courage Page----------------- */
    .coc-fund-section {
        text-align: center;
    }
    .coc-benefit-list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto 30px auto;
    }
    .fund-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
    /* ----------------Donation-------------------- */
    .volunteer-heading {
        font-size: 2.2rem;
        text-align: center;
    }
    .volunteer-subtext {
        text-align: center;
        margin: 20px auto;
    }
    .logo-container {
        text-align: center;
        margin-top: 30px;
    }
    .slider-message {
        font-size: 1.1rem;
    }
}

/* ------------------Footer---------------- */
@media (max-width: 768px) {
    
    .contact-info {
        text-align: center;
        gap: 15px;
    }
    
/* ------------------Home---------------- */

    .card-top {
        min-height: 120px;
    }
    .programme-card {
        min-height: 240px;
    }
    .stats-bar h2 { 
        font-size: 1.5rem; 
    }

    .testimonial-container {
        padding: 0 20px;
    }
    .testimonial-text {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    /* Move arrows below the text on small mobile if needed */
    .custom-ctrl {
        position: relative;
        display: inline-block;
        top: 0;
        transform: none;
        margin: 20px 10px 0;
    }

    .carousel-control-prev { 
        left: -10px; 
    }
    .carousel-control-next { 
        right: -10px; 
    }
    .card-top img {
        width: 30%;
    }

    /* -------------Our Strucure & Leadership Page--------------- */
    
    .patron-section {
        text-align: center;
    }

    /* ------------Partners & Collaborators-------------------------- */
    .partner-logo-small {
        width: 100px;
        height: 60px;
    }

    /* -------------------our-team------------------------ */
    .member-card-wrapper {
        width: 45%; /* Two cards side by side on tablets */
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .leadership-content {
        text-align: center;
        margin-top: 30px;
    }

    /*------------------- our-impact page--------------- */
    .policy-image-box {
        height: 280px;
    }

    .policy-nav {
        display: none;
    }

    .policy-text {
        max-width: 100%;
    }

    /* --------------------Suwa Arana Paediatric Support Centre Page -------------------- */

    .paediatric-image-box {
        height: 240px;
    }

    .paediatric-hero h2 {
        font-size: 22px;
    }

    /* ----------make a wish------------------ */
    .makeawish-hero {
    padding: 55px 15px;
  }

  .makeawish-title {
    font-size: 22px;
  }

  .makeawish-image-box {
    height: 240px;
  }
  .help-blue-box {
    margin-top: 0;
    padding: 35px 15px;
  }

  .help-stat-number {
    font-size: 30px;
  }
    .makeawish-hero img{
        width: 100%;
    }

    .donate-section p{
        padding: 0;
    }

    /* -----------------Donation----------------------- */
    .healing-img-box img {
        height: 220px;
    }
    
    /* Position arrows inside for mobile */
    .healing-arrow {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 1;
    }
    .carousel-control-prev { 
        left: 10px; 
    }
    .carousel-control-next { 
        right: 10px; 
    }
    .healing-carousel {
    padding: 0 0;
  }

  .healing-arrow {
    width: 38px;
    height: 38px;
  }

  .carousel-control-prev.healing-arrow {
    left: -10px;
  }

  .carousel-control-next.healing-arrow {
    right: -10px;
  }

  .healing-img-box {
    height: 220px;
  }
}




/* Move arrows inside or hide on mobile for better space */
@media (max-width: 1200px) {
    .carousel-control-prev { left: -20px; }
    .carousel-control-next { right: -20px; }
    .latest-updates .container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

/* -----------------Our Strucure & Leadership Page-------------- */
@media (max-width: 575px) {
    .member-info small {
        font-size: 0.7rem;
    }
    .role-text {
        font-size: 0.55rem;
    }
    .hero-image {
        opacity: 0;
    }
    .join-cards{
        position: relative;
        margin-top: 0px;
    }

}

/* -------------------our-team------------------------ */
@media (max-width: 576px) {
    .member-card-wrapper {
        width: 100%; /* Single card on mobile */
    }
/* -------------------Partners & Collaborators-1 Pageo------------------------ */
    .membership-card {
    max-width: 100%;
  }
}


/* Off-set for Leadership cards to match the asymmetrical layout */
@media (min-width: 992px) {
    .leadership-spotlight .mt-lg-5 {
        margin-top: 80px !important;
    }
}


@media (max-width: 767px) {
    .overlay {
        background: linear-gradient(to bottom, rgba(144, 26, 94, 0) 0%, var(--primary-color) 100%);
    }
}





















/* ====================================================Contact Page============================== */
/* Contact Section */
.contact-section {
    background-color: #fff;
}

.section-title {

    font-weight: bold;
    color: var(--heading-color);
}
/* Contact page intro: large regular-weight pink title on light pink */
.main-content .section-title {
    font-size: var(--fs-display);
    font-weight: 400;
    color: #d6146e;
}
.main-content p {
    color: var(--dark-primary);
    line-height: 1.2;
}

.sub-heading {
    color: var(--heading-color);
    font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.3125rem);
    line-height: 1.3;
}
.sub-heading .color-black {
    color: #1e1e1e;
}

.form-control {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Contact Form 7 fields: soft grey pills without borders */
.map-with-form .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.map-with-form .wpcf7 textarea,
.map-with-form .wpcf7 select {
    width: 100%;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border: 0;
    border-radius: 15px;
    box-shadow: none;
    padding: 0.75rem 1.25rem;
}
.map-with-form .wpcf7 input:focus,
.map-with-form .wpcf7 textarea:focus {
    outline: 2px solid rgba(154, 29, 96, 0.4);
    outline-offset: 1px;
}
.map-with-form .wpcf7 input[type="submit"] {
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--main-gradient);
    border: 0;
    border-radius: var(--radius-pill);
    min-height: var(--btn-height-sm);
    padding: 0.4rem 1.75rem;
    cursor: pointer;
}
.map-with-form .wpcf7 input[type="submit"]:hover,
.map-with-form .wpcf7 input[type="submit"]:focus-visible {
    filter: brightness(1.08);
}

.map-heading{
    color: #fff;
    height: 50px;
    margin: -15px;
}

.map-container iframe {
    border-radius: 8px;
}
.map-container {
    background: var(--main-gradient) !important;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.map-view{
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Footer Section */
.contact-footer-section {
    background-color: var(--primary-color);
    color: #fff;
}

.main-content{
    background-color:var(--light-primary);
    height: 350px;  
}
.main-content p{
    max-width: 600px;
    text-align: center;
    
}

.map-with-form {
    margin-top: -150px;
    background-color: #ffffff;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.1);
}



.contact-details p{
    color: var(--heading-color);
    font-size: 1.125rem;
    line-height: 1.4;
    max-width: 320px;
}

.contact-email{
    align-items: end;
}

.color-black {
    color: black;
}

.map-heading{
    color: #fff;
}



/* Gradient pill (shares the base button rules at the top of the file) */
.btn-pink {
    --btn-color: #ffffff;
    --btn-bg: var(--main-gradient);
    --btn-border: transparent;
    --btn-hover-color: var(--primary-color);
    --btn-hover-bg: #ffffff;
    --btn-hover-border: var(--primary-color);
}

.social-icons a {
    font-size: 20px;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--light-primary); /* change to your brand color */
}
/* ================================================================ */
/* Ensure all cards are square (1:1 aspect ratio) */
.square-card {
    width: 100%;
    padding-top: 100%; /* Ensures the height is equal to the width, making it a square */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is evenly spaced */
}

.square-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure content inside the card fills the available space */
.program-card {
    background-color: white; /* Light background color for other cards */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.program-card h5 {
    font-size: 1.8rem;
    font-weight: 700;
}

.program-card p {
    font-size: 1rem;
}

/* Pink background color for the second block */
.bg-pink {
    background-color: var(--primary-color); /* Pink background */
    color: white;
}
.bg-blue {
    background-color: var(--blue-main); /* Pink background */
    color: white;
}

/* Removing gap between the columns */
.row.g-0 > .col {
    padding-left: 0;
    padding-right: 0;
}

/* Ensuring all cards have equal height */
.program-card {
    height: 100%; /* Ensure cards have a fixed height */
}



/* Responsive Design */
@media (max-width: 992px) {
    .contact-section .row {
        flex-direction: column;
        align-items: center;
    }
    
    .map-container iframe {
        width: 100%;
    }
}


@media (max-width: 992px) {
.map-heading{
    color: #fff;
    height: 80px;
    margin-bottom: -20px;    
}
}

@media (max-width: 992px) {
    .map-with-form {
        margin-top: -100px;
        background-color: #ffffff;
        padding: 30px;
    }
}



/* ============Wordpress================ */
.wp-block-button .wp-block-button__link {
    text-decoration: none !important;
}



/* ====================================================
   DONATE CARDS - Added for new-donate.php
   ==================================================== */
.donate-card {
    position: relative;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    background-color: #f7f7f7;
    border: none;
}

.donate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.donate-card .card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 24px;
}

.donate-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(152, 29, 96, 0.95) 0%, rgba(152, 29, 97, 0) 100%);
    z-index: 2;
}

.donate-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    z-index: 3;
    color: #ffffff;
}

.donate-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-serif);
    color: #ffffff;
}

.donate-card-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.85;
    color: white;
    font-family: var(--font-serif);
}

.donate-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.donate-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #ffffff;
}

.donate-card .btn-outline-custom {
    display: block;
    text-align: center;
    border-color: #ffffff;
    border-radius: 50px;
    color: #ffffff;
    padding: 6px 20px;
}

.donate-card .btn-outline-custom:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}



/* Custom Breadcrumb Styling */
.ict-breadcrumb-wrapper {
    background-color: #fdf8f9 !important; /* Soft, warm tint to complement your palette */
    border-bottom: 1px solid #f5e6eb !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding-top: 30px;
}

.ict-breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before {
    content: "➔" !important; /* Premium clean icon vector icon step forward arrow */
    color: #cbb2bc !important;
    font-size: 0.75rem;
    vertical-align: middle;
    margin-top: 4px;
}

.ict-breadcrumb-wrapper a {
    color: #6c757d !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ict-breadcrumb-wrapper a:hover {
    color: #8a254e !important; /* Highlights using your signature maroon color */
}

.ict-breadcrumb-wrapper .breadcrumb-item.active {
    color: #8a254e !important;
    font-weight: 600;
}





