/* Background for section */
.service-section {
    background: linear-gradient(135deg, #f2f2f2 0%, #eef2f7 100%);
    border-radius: 40px;
    margin: 40px auto;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(90deg, #007bff, #00c9a7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Service Card */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Icon Circle */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cd7332, #e49337ff);
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px hsla(31, 76%, 40%, 1.00);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 8px 22px rgba(0, 123, 255, 0.4);
}

.hover-card {
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
}
.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.facts-section {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
/* Overlay: semi-transparent dark layer */
.facts-section .overlay {
    background-color: rgba(0, 0, 0, 0.55); /* adjust opacity */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
/* Make content above overlay */
.facts-section .container {
    position: relative;
    z-index: 2;
}
/* Facts items */
.facts-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.facts-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

/* Icons */
.facts-item i {
    font-size: 40px;
    color: #ca6702;
}

/* Text */
.facts-content h2 {
    font-size: 32px;
}
.facts-content li i {
    font-size: 18px;
}
.section-header h2 {
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: "";
    width: 50%;
    height: 4px;
    background: #ca6702;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}
.text-custom-orange { 
    color: var(--bs-custom-orange) !important; 
}
.bg-custom-green { 
    background-color: var(--bs-custom-green) !important; 
}
.btn-custom-orange { 
    background-color: var(--bs-custom-orange); 
    border-color: var(--bs-custom-orange);
}
.left-column-bg {
    position: relative;
    padding-right: 20px; /* Add space for the floating image */
}
.orange-border-container {
    border: 2px solid var(--bs-custom-orange);
    border-radius: 1.5rem; 
    padding: 1.5rem;
    top:10rem;
    position: relative;
}
.bw-image {
    border-radius: 1.5rem; 
    transform: translate(-10px, -10px);
}
.floating-image {
    position: absolute;
    top: 5rem; /* Move up to overlap */
    right: 16rem; /* Right edge */
    max-width: 50%;
    border-radius: 0.5rem; /* Slightly smaller rounding */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 8;
}
.green-cta-card {
    right: -2rem;
    border-radius: 1.5rem !important;
}
.statistic-highlight .fw-bold {
    font-size: 1.15em;
}
.cta-card {
    height: 220px;                 /* card height */
    border-radius: 14px;          /* rounded corners */
    overflow: hidden;             /* clip children (overlay/img) to rounded corner */
    position: relative;
    background-size: cover;       /* fallback if bg-image set */
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta-card > img,
.cta-card img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit; /* in case any browser applies rounding to img */
}
.cta-card .overlay {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px;
    text-align: center;
    background: rgba(0,0,0,0.45); /* semi-transparent overlay */
    transition: background 0.25s ease;
}
.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.cta-card:hover .overlay {
    background: rgba(0,0,0,0.65);
}
.cta-card .overlay h3 { 
    margin: 0 0 4px; 
    font-size: 1.15rem; 
    line-height:1.1; 
}
.cta-card .overlay p  
{ 
    margin: 0 0 10px; 
    font-size: .95rem; 
    opacity: .95; 
}
.arrow-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-width: 1.5px;
}
.icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #ca6702;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}
.testimonial-card {
    border-radius: 1.5rem;
    background: #fff6ed; /* soft orange-tinted background */
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.testimonial-card:hover {
    background: #ca6702; /* orange on hover */
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
}
.testimonial-card:hover .icon-circle {
    background-color: #fff;
    color: #ca6702;
    transition: all 0.4s ease;
}
.testimonial-card p {
    color: #555;
    transition: color 0.4s ease;
}
.testimonial-card:hover p,
.testimonial-card:hover h5,
.testimonial-card:hover h6,
.testimonial-card:hover small {
    color: #fff;
}
/* Space above pagination dots */
.swiper-pagination {
    margin-top:100px !important;
}
.causes-item {
    transition: all 0.4s ease;
    border: none;
}
.causes-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}
.causes-img img {
    transition: transform 0.5s ease;
}
.causes-item:hover .causes-img img {
    transform: scale(1.05);
}
.btn-custom, 
.btn-warning {
    background: linear-gradient(90deg, #ca6702, #ffca28);
    border: none;
    transition: 0.3s;
}
.btn-custom:hover, 
.btn-warning:hover {
    background: linear-gradient(90deg, #ca6702, #f9a825);
    transform: scale(1.05);
}
.heading-animate {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}

.heading-animate span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: charFadeIn 0.5s forwards;
}

@keyframes charFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.foundation-title {
  font-size: 3.5rem;           /* Bigger title size */
  font-weight: 800;            /* Bold and strong */
  text-transform: uppercase;   /* Gives a grand look */
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 5s infinite alternate;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@media (max-width: 768px) {
  .foundation-title {
    font-size: 2.2rem; /* Responsive for mobile */
  }
}
