.card-body {
    padding: 40px !important;
}
.wave-card {
    position: relative;
    width: 300px;
    height: 170px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    /* Light box shadow with teal color */
    box-shadow: 0 4px 8px rgb(198 144 75 / 25%), 0 2px 6px rgb(198 135 75 / 20%);
}

.wave-shape {
    position: absolute;
    bottom: -25px;
    left: -30px;
    width: 130%;
    height: 90px;
    /* Soft teal wave color */
    background: var(--bg-theme-color);
    border-radius: 100% 100% 0 0;
}

/*.wave-shape::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    border-radius: 100% 100% 0 0;*/
/*    background: url("/home-assets/img/tamil-letters.png") center / cover no-repeat;*/
/*    opacity: 0.4; !* 👈 adjust image opacity here *!*/
/*}*/


.wave-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    color: #000; /* keep text color default */
}
.wave-content small{
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    padding: 0 10px;
}

.date-range-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    position: relative;
}

.date-item {
    text-align: center;
    flex: 1;
}

.date-item .label {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--theme-primary-color);
    font-weight: 600;
}

.date-item .date {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #212529;
}

.date-divider {
    padding: 0 10px;
    color: var(--heading-text-color);
    font-size: 18px;
}

.duration-pill {
    background-color: var(--theme-light-color);
    color: var(--heading-text-color);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
    white-space: nowrap;
    min-width: 90px;
    text-align: center;
}

/* Mobile (default) */
.card-swiper,
.card-swiper img {
    width: 390px;
}

.timeline-badge {
    position: relative;
    background: var(--bg-theme-secondary-color);
    color: var(--theme-primary-color) !important;
}

.timeline-badge::before {
    content: "";
    position: absolute;
    left: -3px; /* adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 13px;
    background-color: var(--bg-theme-secondary-color); /* match your theme */
    border-radius: 10%;
}

.temple-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.temple-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.temple-card .card-body{
    padding: 20px 20px !important;
}

.temple-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.temple-card:hover .temple-image {
    transform: scale(1.08);
}

/* Button */
.btn-6 {
    position: relative;
    display: inline-flex;
    align-items: center;         /* vertical center */
    justify-content: center;
    padding: 4px 25px;
    border: 1px solid var(--theme-primary-color);
    border-radius: 30px;
    background-color: #fff;
    color: var(--theme-secondary-color);
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    text-decoration: none;
    font-size: 16px;
    z-index: 1;
}

.btn-6 span {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: var(--theme-primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
    top: 50%;
    left: 50%;
    opacity: 0.5;
}

.btn-6:hover {
    color: #fff;
    background-color: var(--theme-primary-color);
}

.btn-6:hover i{
    color: white !important;
}

.btn-6:hover span {
    width: 250%;
    height: 250%;
}

/* Optional: Wave ripple on click */
.btn-6:active span {
    width: 300%;
    height: 300%;
    transition: width 0.2s ease, height 0.2s ease;
}

/* Proper placement: make button bottom aligned */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}


/* Wrapper */
.impact-pro {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Info */
.impact-info {
    margin-bottom: 14px;
}

.impact-label {
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
}

.impact-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #16a34a;
    margin-bottom: 6px;
}

/* Base pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #374151;
}

/* Indicator dot */
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* ───────── Status Colors (Flat & Soft) ───────── */

/* Ongoing */
.status-ongoing, .status-active {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
.status-ongoing .status-indicator, .status-active .status-indicator {
    background-color: #10b981;
}

/* Upcoming */
.status-upcoming {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}
.status-upcoming .status-indicator {
    background-color: #3b82f6;
}

/* Completed / Closed */
.status-completed,
.status-closed {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}
.status-completed .status-indicator,
.status-closed .status-indicator {
    background-color: #6b7280;
}

/* Optional: subtle hover refinement */
.status-pill:hover {
    border-color: #cbd5f5;
}

.status-ongoing .status-indicator {
    animation: breathe 1.6s ease-in-out infinite;
}

@keyframes breathe {
    0%,100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.4); opacity: 1; }
}






/*laptop*/
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .card-swiper,
    .card-swiper img {
        width: 420px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .card-swiper,
    .card-swiper img {
        width: 320px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .card-swiper,
    .card-swiper img {
        width: 400px;
    }
}
