/* Antigravity Design Enhancements for Rakthkosh Foundation */

/* Stats Counter Section Styling */
.rakthkosh-stats-section {
    background: linear-gradient(135deg, #8a0815 0%, #d32f2f 100%);
    color: #ffffff;
    padding: 60px 0;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(138, 8, 21, 0.2);
    position: relative;
    overflow: hidden;
}

.rakthkosh-stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 60%;
    height: 150%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(35deg);
    pointer-events: none;
}

.stat-counter-box {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-counter-box:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ffd700;
    text-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    opacity: 0.9;
}

/* Our Mission / Story Section */
.mission-box {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.mission-box:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.mission-tag {
    background: rgba(211, 47, 47, 0.1);
    color: #d32f2f;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.story-btn-red {
    background-color: #d32f2f;
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.2);
}

.story-btn-red:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

.story-btn-outline {
    background-color: transparent;
    color: #333 !important;
    font-weight: 600;
    padding: 11px 29px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    margin-left: 10px;
}

.story-btn-outline:hover {
    border-color: #d32f2f;
    color: #d32f2f !important;
    transform: translateY(-2px);
}

/* Volunteer / Team Leaders Section */
.volunteer-section-title {
    margin-bottom: 50px;
}

.team-leaders-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.team-leader-col {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 320px;
    min-width: 260px;
}

.team-leader-card {
    background:
        linear-gradient(145deg, rgba(122, 35, 35, 0.92) 0%, rgba(74, 18, 18, 0.96) 100%),
        url('../img/team-card-texture.png') center/cover no-repeat;
    border-radius: 32px 8px 32px 8px;
    overflow: hidden;
    padding: 14px 14px 22px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(74, 18, 18, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
}

.team-leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(74, 18, 18, 0.35);
}

.team-leader-photo {
    border-radius: 22px 6px 22px 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.team-leader-photo img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-leader-info {
    padding: 18px 8px 4px;
}

.team-leader-name {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
}

.team-leader-role {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 991px) {
    .team-leader-col {
        flex: 0 0 calc(50% - 14px);
        max-width: 340px;
    }
}

@media (max-width: 575px) {
    .team-leader-col {
        flex: 0 0 100%;
        max-width: 320px;
    }

    .team-leader-photo img {
        height: 280px;
    }
}

/* Legacy volunteer card styles (member list / other pages) */
.volunteer-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.volunteer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(211, 47, 47, 0.1);
    border-color: rgba(211, 47, 47, 0.2);
}

.volunteer-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
}

.volunteer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
    background: #f8f9fa;
}

.volunteer-avatar-initials {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
    border: 4px solid #fff;
}

.blood-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #d32f2f;
    color: #ffffff;
    font-weight: 700;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.volunteer-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.volunteer-role {
    font-size: 0.85rem;
    color: #d32f2f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.volunteer-location {
    font-size: 0.9rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.volunteer-location i {
    color: #d32f2f;
}

/* Service Page CTA Banner */
.service-cta-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/bg/bg-page-title.jpg') no-repeat center center/cover;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

/* Interactive Search Directory styling for member_List.php */
.directory-filter-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.search-input-group {
    position: relative;
}

.search-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
}

.search-input-group .form-control {
    padding-left: 45px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.search-input-group .form-control:focus {
    border-color: #d32f2f;
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.1);
}

.filter-select {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    cursor: pointer;
}

.filter-select:focus {
    border-color: #d32f2f;
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.1);
}

.filter-btn {
    height: 50px;
    border-radius: 10px;
    background: #d32f2f;
    border: none;
    color: #fff;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #b71c1c;
}

/* Donor Table Styles */
.donor-table-wrapper {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.table-donor {
    margin-bottom: 0;
}

.table-donor th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #eaeeef;
    padding: 15px 20px;
}

.table-donor td {
    padding: 15px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f2f6;
    color: #333;
}

.donor-blood-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(211, 47, 47, 0.1);
    color: #d32f2f;
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.85rem;
}

.donor-status-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2ecc71;
    font-size: 0.85rem;
    font-weight: 600;
}

.donor-status-active::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
}

/* Custom Pagination */
.pagination-wrapper {
    margin-top: 30px;
}

.pagination-wrapper .pagination {
    justify-content: center;
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

.pagination-wrapper .page-link {
    color: #d32f2f;
}

.pagination-wrapper .page-link:hover {
    color: #b71c1c;
    background-color: #fcebeb;
}

/* Slider Pledge Bar */
.slider-with-pledge {
    position: relative;
}

.or-category-slider-section .or-category-main-slider {
    padding-top: 0;
    padding-left: 0;
}

.slider-pledge-bar {
    background: linear-gradient(90deg, #5c1218 0%, #7a1a22 50%, #5c1218 100%);
    border-top: 3px solid rgba(255, 255, 255, 0.15);
    padding: 16px 0;
}

.slider-pledge-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    text-align: center;
}

.slider-pledge-text {
    margin: 0;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
}

.slider-pledge-hindi {
    font-weight: 700;
    color: #ffffff;
}

.slider-pledge-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 10px 24px;
    background: #1565c0;
    color: #ffffff;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(21, 101, 192, 0.35);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-pledge-btn:hover {
    background: #0d47a1;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 71, 161, 0.4);
}

.slider-pledge-btn-hi {
    font-size: 0.95rem;
}

.slider-pledge-btn-en {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.95;
}

@media (max-width: 767px) {
    .slider-pledge-text {
        font-size: 1rem;
    }

    .slider-pledge-inner {
        gap: 12px;
    }

    .slider-pledge-btn {
        width: 100%;
        max-width: 260px;
    }
}

/* Header / Top Menu Fixes */
.organio-header-section.header-style-one .organic-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 88px;
}

.organio-header-section.header-style-one .site-logo {
    position: static;
    width: auto;
    max-width: 210px;
    margin: 0;
    flex-shrink: 0;
}

.organio-header-section.header-style-one .site-logo img {
    display: block;
    max-height: 72px;
    width: auto;
    max-width: 100%;
}

.organio-header-section.header-style-one .main-navigation-area {
    flex: 1;
    min-width: 0;
}

.organio-header-section.header-style-one .menu-navigation.right-nav {
    float: none;
    margin-right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px 14px;
    padding-top: 0;
}

.organio-header-section.header-style-one .menu-navigation li {
    display: block;
    margin-right: 0;
}

.organio-header-section.header-style-one .menu-navigation li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.organio-header-section.header-style-one .menu-navigation li a i {
    color: #cf080c;
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.organio-header-section.header-style-one .menu-navigation li a span {
    display: inline-block;
}

.mobile_menu_button i,
.mobile_menu_close i {
    font-size: 22px;
    color: #cf080c;
}

.mobile_menu_content .mobile-main-navigation .navbar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile_menu_content .mobile-main-navigation .navbar-nav li a i {
    color: #cf080c;
    width: 18px;
    text-align: center;
}

@media (max-width: 1199px) {
    .organio-header-section.header-style-one .menu-navigation li a {
        font-size: 12px;
        gap: 5px;
    }

    .organio-header-section.header-style-one .menu-navigation.right-nav {
        gap: 4px 10px;
    }
}

@media (max-width: 991px) {
    .organio-header-section.header-style-one .organic-header-content {
        min-height: auto;
    }

    .organio-header-section.header-style-one .site-logo {
        max-width: 180px;
    }
}

