
/* -----------------------------------
ATTRACTIVE SECTION TITLE
-------------------------------------- */
.section-tittle {
text-align: center;
padding-bottom: 20px;
margin-top: 50px !important;
position: relative;
}

.section-tittle span {
font-size: 25px;
font-weight: 700;
color: #415a77; /* Lavender Theme */
letter-spacing: 1px;
display: inline-block;
margin-bottom: 8px;
text-transform: capitalize;
animation: fadeIn 1s ease;
}

.section-tittle h2 {
font-size: 34px;
margin-bottom: 10px;
font-weight: 700;
color: #333;
animation: slideUp 0.8s ease;
}

.section-tittle h1 {
font-size: 40px;
font-weight: 800;
color: #932F67;
margin-top: 5px;
position: relative;
display: inline-block;
padding-bottom: 12px;
animation: glowTitle 2.5s infinite ease-in-out;
}

/* Animated Underline */
.section-tittle h1::after {
content: "";
position: absolute;
left: 50%;
bottom: 0;
width: 70px;
height: 4px;
background: linear-gradient(90deg, #932F67, #C94A8B, #F2C94C);
border-radius: 50px;
transform: translateX(-50%);
animation: underlinePulse 2s infinite ease-in-out;
}

/* Glow Animation */
@keyframes glowTitle {
0% { text-shadow: 0 0 5px rgba(147, 47, 103, 0.4); }
50% { text-shadow: 0 0 18px rgba(147, 47, 103, 0.7); }
100% { text-shadow: 0 0 5px rgba(147, 47, 103, 0.4); }
}

/* Underline expand animation */
@keyframes underlinePulse {
0% { width: 60px; }
50% { width: 120px; }
100% { width: 60px; }
}

/* Fade-in for subtitle */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}

/* Heading Slide Animation */
@keyframes slideUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------
DONATE BUTTON
-------------------------------------- */
.btn-warning {
background: linear-gradient(45deg, #ffb300, #ff9800);
border: none;
font-size: 16px;
font-weight: 600;
padding: 10px 0;
border-radius: 10px;
transition: 0.3s ease;
}

.btn-warning:hover {
background: linear-gradient(45deg, #ff9800, #ff6d00);
transform: scale(1.03);
}

/* -----------------------------------
SLIDER
-------------------------------------- */
.hero-slider {
position: relative;
width: 100%;
overflow: hidden;
}

.slider-container {
position: relative;
width: 100%;
}

/* Hide all slides */
.slide {
display: none;
position: relative;
}

/* Show active slide */
.slide.active {
display: block;
}

/* Slider images */
.slide img {
width: 100%;
height: 70vh;
object-fit: cover;
}

/* Caption centered */
.slide-caption {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 48px;
font-weight: 700;
color: #fff;
text-align: center;
opacity: 0;
transition: all 0.8s ease;
}

.slide.active img {
transform: scale(1.05);
transition: 4s ease;
}

.slide.active .slide-caption {
opacity: 1;
transform: translate(-50%, -50%);
}

/* Different background colors for captions */
.slide:nth-child(2) .slide-caption { background-color: rgba(255, 204, 0, 0.6); padding: 10px; }
.slide:nth-child(3) .slide-caption { background-color: rgba(0, 72, 127, 0.6); padding: 10px; }
.slide:nth-child(4) .slide-caption { background-color: rgba(200, 50, 50, 0.6); padding: 10px; }
.slide:nth-child(5) .slide-caption { background-color: rgba(50, 150, 50, 0.6); padding: 10px; }

/* Slider arrows */
.prev, .next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0, 0, 0, 0.4);
color: white;
border: none;
padding: 8px 14px;
font-size: 26px;
cursor: pointer;
border-radius: 50%;
z-index: 10;
}

.prev:hover, .next:hover {
background: rgba(0, 0, 0, 0.8);
}

.prev { left: 15px; }
.next { right: 15px; }

/* Mobile slider */
@media (max-width: 768px) {
.slide img {
height: 50vh;
}
.slide-caption {
font-size: 24px;
padding: 10px 15px;
}
}

/* -----------------------------------
IMPACT SECTION
-------------------------------------- */
.impact-section {
background: url('assets/img/gallery/Awareness-Programs-in-Schools-1-copy-scaled.jpg') no-repeat center center/cover;
padding: 100px 20px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: white;
position: relative;
}

.impact-section::before {
content: "";
position: absolute;
inset: 0;
background-color: rgba(0,0,0,0.5);
z-index: 1;
}

.impact-content {
position: relative;
z-index: 2;
}

.impact-content h1 {
font-size: 36px;
margin-bottom: 20px;
}

.impact-content span {
font-size: 38px;
font-weight: 800;
}

/* -----------------------------------
LAVENDER CARDS (NEW)
-------------------------------------- */
.case-card {
position: relative;
border-radius: 20px;
overflow: hidden;
background: #ffffff;
padding-bottom: 20px;
box-shadow: 0 6px 28px rgba(147, 47, 103, 0.28);
transition: 0.3s ease;
width: 100%;
}

/* Gradient border with theme + contrast colors */
.case-card::before {
    
  pointer-events: none; 
content: "";
position: absolute;
inset: 0;
padding: 2.5px;
border-radius: 20px;
background: linear-gradient(135deg, #932F67, #C94A8B, #F2C94C);
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
}

.case-card:hover {
transform: translateY(-10px);
box-shadow: 0 12px 40px rgba(147, 47, 103, 0.40);
}

.case-img {
width: 100%;
height: 240px;
object-fit: cover;
}

.case-body {
padding: 20px;
text-align: center;
background: #F7E8F1; /* soft contrast background */
border-radius: 0 0 20px 20px;
}

.case-title {
font-size: 22px;
font-weight: 700;
color: #932F67; /* theme color */
margin-bottom: 10px;
}

/*progress bar */
.progress-custom {
width: 100%;
height: 8px;
background: #f0d1e3;
border-radius: 50px;
overflow: hidden;
margin-bottom: 15px;
}

.progress-bar-custom {
height: 100%;
background: linear-gradient(90deg, #932F67, #C94A8B, #3ED9A3);
border-radius: 50px;
transition: width .4s ease;
}


/*////*/
.donate-btn {
display: block;
width: 100%;
background: linear-gradient(90deg, #932F67, #C94A8B);
color: #fff;
padding: 13px 0;
border-radius: 50px;
font-size: 18px;
font-weight: 600;
text-decoration: none;
transition: 0.3s ease;
box-shadow: 0 4px 18px rgba(147, 47, 103, 0.4);
border: 2px solid transparent;
}

.donate-btn:hover {
background: linear-gradient(90deg, #C94A8B, #932F67);
transform: translateY(-4px);
border-color: #F2C94C; /* Gold outline on hover */
box-shadow: 0 6px 25px rgba(147, 47, 103, 0.55);
}
.case-badge {
position: absolute;
top: 12px;
right: 12px;
background: #F2C94C;
color: #932F67;
padding: 6px 12px;
border-radius: 50px;
font-weight: bold;
font-size: 14px;
box-shadow: 0 3px 10px rgba(242, 201, 76, 0.3);
}
.slide.active img {
transform: scale(1.05);
transition: 4s ease;
}

/* Animate when slide is active */
.slide.active .slide-caption {
opacity: 1;
transform: translate(-50%, -50%) translateY(0);
}

.slide:nth-child(2) .slide-caption {
background-color: rgba(255, 204, 0, 0.7);
}

.slide:nth-child(3) .slide-caption {
background-color: rgba(0, 72, 127, 0.7);
}

.slide:nth-child(4) .slide-caption {
background-color: rgba(200, 50, 50, 0.7);
}

.slide:nth-child(5) .slide-caption {
background-color: rgba(50, 150, 50, 0.7);
}

.slide:nth-child(6) .slide-caption {
background-color: rgba(100, 0, 150, 0.7);
}

.slide:nth-child(7) .slide-caption {
background-color: rgba(0, 0, 0, 0.6);
}

/* Arrows */
.prev,
.next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0, 0, 0, 0.4);
color: white;
border: none;
padding: 8px 14px;
font-size: 26px;
cursor: pointer;
border-radius: 50%;
}

.prev:hover,
.next:hover {
background: rgba(0, 0, 0, 0.8);
}

.prev {
left: 15px;
}

.next {
right: 15px;
}

/* Base card styling */
.single-campaign {
color: #fff;
min-height: 350px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: all 0.4s ease;
overflow: hidden;
}

/* Hover effects */
.single-campaign:hover {
transform: translateY(-10px) scale(1.03);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.single-campaign:hover .icon-img img {
transform: scale(1.1) rotate(5deg);
}

/* Image styling */
.icon-img img {
width: 80px;
height: 80px;
object-fit: contain;
margin-bottom: 20px;
transition: transform 0.4s ease;
}

/* Text styling */
.single-campaign h4 {
color: #fff;
margin-bottom: 10px;
font-size: 20px;
font-weight: 800;
}

.single-campaign p {
font-size: 15px;
color: #f0f0f0;
font-weight: 600;
}

/* Gradient Backgrounds */
.bg-gradient-1 {
background: linear-gradient(135deg, #fb93eaff, #f5576c);
}

.bg-gradient-2 {
background: linear-gradient(135deg, #5ee7df, #b490ca);
}

.bg-gradient-3 {
background: linear-gradient(135deg, #6f65f6ff, #fda085);
}

.bg-gradient-4 {
background: linear-gradient(135deg, #d8a840ff, #8fd3f4);
}

/* Smooth floating animation */
@keyframes floatIcon {

0%,
100% {
transform: translateY(0);
}

50% {
transform: translateY(-5px);
}
}

.icon-img img {
animation: floatIcon 3s ease-in-out infinite;
}


/*education*/
/* ===========================
   CARD CONTAINER – Aurora Style
   =========================== */
.edu3-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    border: 3px solid #023e8a;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(112, 193, 255, 0.25);
    overflow: hidden;
    transition: 0.35s ease;
}

.edu3-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 28px rgba(94, 171, 255, 0.35);
}


/* ===========================
          IMAGE
   =========================== */
.edu3-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    /*border-bottom: 4px solid #79d2ff;*/
    filter: saturate(1.2);
}


/* ===========================
           BODY
   =========================== */
.edu3-body {
    padding: 22px;
    text-align: center;
    animation: fadeIn 0.6s ease both;
    background-color: #e2eafc;
}


/* ===========================
           TITLE
   =========================== */
.edu3-title {
    font-size: 22px;
    font-weight: 900;
    color: #163172;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}


/* ===========================
       PROGRESS BAR
   =========================== */
.edu3-progress {
    background: #3e7cb1;
    height: 12px;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 18px;
}

.edu3-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 50px;
    transition: width 0.45s ease-in-out;
}


/* ===========================
           BUTTON
   =========================== */
.edu3-btn {
    display: inline-block;
    background: linear-gradient(120deg, #4481eb, #04befe);
    padding: 11px 28px;
    color: white;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(68, 129, 235, 0.35);
}

.edu3-btn:hover {
    background: linear-gradient(120deg, #0066ff, #00c6ff);
    transform: scale(1.08);
}


/* ===========================
       EDUCATION TITLE
   =========================== */
.education {
    font-size: 40px;
    font-weight: 900;
    color: #023e8a; 
    margin-top: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 13px;
    animation: neonPulse 2.8s infinite ease-in-out;
}

/* Underline Animation */
.education::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 75px;
    height: 4px;
    background: linear-gradient(90deg, #04befe, #3fcbff, #74e7ff);
    border-radius: 50px;
    transform: translateX(-50%);
    animation: underlineGlow 2.3s infinite alternate;
}


/* ===========================
        ANIMATIONS
   =========================== */
/*@keyframes neonPulse {*/
/*    0% { text-shadow: 0 0 6px rgba(4, 190, 254, 0.4); }*/
/*    50% { text-shadow: 0 0 20px rgba(4, 190, 254, 0.9); }*/
/*    100% { text-shadow: 0 0 6px rgba(4, 190, 254, 0.4); }*/
/*}*/

@keyframes underlineGlow {
    0% { width: 60px; opacity: 0.75; }
    100% { width: 130px; opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}



/* =========================
   IMAGE HOVER DONATE BUTTON
   ========================= */

/* Keep image inside gradient border */
.case-img-wrapper {
    position: relative;
    padding: 8px;                /* space from gradient border */
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

/* Image now fits nicely */
.case-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}


/* Overlay */
.img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Small donate button on image */
.hover-donate-btn {
    width: auto;
    padding: 10px 22px;
    font-size: 15px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transform: scale(0.85);
    transition: all 0.3s ease;
}

/* Hover effect */
.case-card:hover .img-overlay {
    opacity: 1;
}

.case-card:hover .case-img {
    opacity: 0.4;
    transform: scale(1.05);
}

.case-card:hover .hover-donate-btn {
    transform: scale(1);
}

/* Hide image button on mobile (optional) */
@media (max-width: 576px) {
    .img-overlay {
        display: none;
    }
}
/*****************************/
/*educational*/
/* ===============================
   EDU IMAGE HOVER DONATE BUTTON
   =============================== */

.edu3-img-wrapper {
   position: relative;
    padding: 8px;                /* space from gradient border */
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

/* Image */
.edu3-img {
     width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Overlay */
.edu3-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Small centered button */
.edu3-hover-btn {
    padding: 9px 22px;
    font-size: 14px;
    border-radius: 30px;
    transform: scale(0.85);
    transition: all 0.3s ease;
}

/* Hover effects */
.edu3-card:hover .edu3-img-overlay {
    opacity: 1;
}

.edu3-card:hover .edu3-img {
    opacity: 0.4;
    transform: scale(1.04);
}

.edu3-card:hover .edu3-hover-btn {
    transform: scale(1);
}

/* Optional: hide image button on small devices */
@media (max-width: 576px) {
    .edu3-img-overlay {
        display: none;
    }
}



/*cancer image slider*/

.cancer-float {
    position: fixed;
    right: 15px;
    top: 145px;
    width: 360px;   /* increased size */
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cancer-float img {
    width: 100%;
    height: auto;
    display: block;
}


@media (max-width: 768px) {
    .cancer-float {
        display: none;
    }
}
 
