/* Sponsor Page - World-Class Redesign */

.sponsor-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-2.jpg') center/cover no-repeat fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.sponsor-header h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 20px;
    font-weight: 800;
}

/* 1. Sponsorship Impact Section */
.sponsorship-impact {
    padding: 120px 0;
    background: var(--bg-alt);
}

.impact-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.impact-text h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.impact-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.impact-number {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.impact-number:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.impact-number .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.impact-number .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.video-thumbnail {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.video-thumbnail:hover .play-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 2. Children Gallery Sections */
.children-gallery {
    padding: 120px 0;
    background: var(--white);
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.child-card {
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.child-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.child-image {
    position: relative;
    height: 350px;
}

.child-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.child-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.child-status.urgent {
    background: var(--danger-color);
    color: var(--white);
}

.child-status.new {
    background: var(--secondary-color);
    color: var(--white);
}

.child-status.matched {
    background: var(--success-color);
    color: var(--white);
}

.child-info {
    padding: 40px;
}

.child-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.child-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.child-details p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
}

.child-details i {
    color: var(--primary-color);
    margin-right: 5px;
}

.sponsorship-progress {
    margin: 25px 0;
}

.progress-bar {
    height: 10px;
    background: var(--bg-alt);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
}

.progress-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-color);
}

.child-card .btn-sponsor {
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.btn-profile {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

/* 3. Child Bio Preview */
.child-bio-preview {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

/* 4. Sponsorship Options Upgraded */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.option-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.option-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.option-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.option-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    display: block;
}

.option-price .period {
    font-size: 1.1rem;
    color: #666;
}

.option-features {
    margin: 40px 0;
}

.option-features ul {
    list-style: none;
    padding: 0;
}

.option-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-alt);
    font-size: 1rem;
}

.option-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

.option-features li.unavailable {
    color: #ccc;
}

.option-features li.unavailable i {
    color: #ccc;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .impact-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .option-card.popular {
        transform: none;
    }

    .impact-numbers {
        justify-content: center;
    }
}