/* Volunteer Page Premium Styles */
.volunteer-hero {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.95) 0%, rgba(8, 145, 178, 0.9) 100%),
        url('../images/ui/hero-bg-2.jpg') center/cover no-repeat fixed;
    padding: 140px 0 180px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.volunteer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.volunteer-hero .glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 4rem;
    border-radius: 30px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.volunteer-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.volunteer-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Stats Bar */
.stats-bar {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.stats-container {
    background: white;
    border-radius: 25px;
    padding: 3rem 4rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

/* Team Section */
.team-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
}

.team-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Enhanced Team Card */
.team-member-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.team-member-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 118, 110, 0.2);
}

.member-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, rgba(15, 118, 110, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .member-image-overlay {
    opacity: 1;
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member-card:hover .member-social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.member-social a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.member-social a:hover {
    background: #f59e0b;
    color: white;
    transform: translateY(-3px);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, white 0%, #f0fdfa 100%);
}

.member-info h4 {
    font-size: 1.2rem;
    color: #115e59;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-info .role {
    color: #0f766e;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Join Section */
.join-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

.join-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.join-info {
    padding-right: 2rem;
}

.join-info h2 {
    font-size: 2.5rem;
    color: #115e59;
    margin-bottom: 1.5rem;
}

.join-info p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-item .icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item .icon i {
    color: #0f766e;
    font-size: 1.2rem;
}

.benefit-item span {
    color: #1e293b;
    font-weight: 500;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.form-card h3 {
    font-size: 1.5rem;
    color: #115e59;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-card .google-form-container {
    position: relative;
    padding-top: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #f8fafc;
}

.form-card .google-form-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #0f766e;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #0f766e;
}

/* Loading Spinner */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(15, 118, 110, 0.1);
    border-top-color: #0f766e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .join-container {
        grid-template-columns: 1fr;
    }

    .volunteer-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .volunteer-hero .glass-card {
        padding: 2rem;
    }

    .stats-container {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

}

/* Custom Wave Fill for Volunteer Page (Matches team-section background) */
.volunteer-hero .wave-bottom .shape-fill {
    fill: #f0fdfa;
}