/* Student Support Program Page Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.student-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    background: linear-gradient(135deg, #38a169 0%, #48bb78 50%, #2f855a 100%);
}

/* Overlay background */
.hero-background::before {
    content: '';
    background: url('../../assets/appeals/images/child1.jpg') center/cover;
    opacity: 0.15;
}

/* --- Apply absolute positioning only for desktop screens --- */
@media (min-width: 1025px) {
    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .hero-background::before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
     
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3rem;
     
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
     
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
     
    color: #c6f6d5;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
     
}

/* Mission Section */
.student-mission {
    padding: 80px 0;
    background: white;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
     
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mission-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 30px;
}

.mission-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #f0fff4;
    border-radius: 12px;
    border-left: 4px solid #38a169;
}

.feature-item i {
    color: #38a169;
    font-size: 1.3rem;
    margin-top: 2px;
}

.feature-content h4 {
    font-size: 1.1rem;
     
    color: #2d3748;
    margin-bottom: 4px;
}

.feature-content p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mission-visual {
    position: relative;
}

.mission-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.visual-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(56, 161, 105, 0.95);
    color: white;
    padding: 10px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
     
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Support Programs Section */
.support-programs {
    padding: 80px 0;
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
     
    color: #2d3748;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #38a169;
}

.program-card.priority {
    border-color: #38a169;
    box-shadow: 0 8px 30px rgba(56, 161, 105, 0.15);
}

.program-card.custom {
    border-color: #805ad5;
    background: linear-gradient(135deg, #faf5ff 0%, #f7fafc 100%);
}

.card-header {
    padding: 24px 24px 0;
    position: relative;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #38a169, #2f855a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.custom .card-icon {
    background: linear-gradient(135deg, #805ad5, #6b46c1);
}

.priority-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #38a169;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
     
}

.card-content {
    padding: 0 24px 20px;
}

.card-content h3 {
    font-size: 1.3rem;
     
    color: #2d3748;
    margin-bottom: 12px;
}

.card-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #4a5568;
}

.features-list i {
    color: #48bb78;
    font-size: 0.8rem;
}

.card-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
    text-align: center;
}

.price-amount {
    font-size: 1.8rem;
     
    color: #38a169;
    margin-bottom: 4px;
}

.custom .price-amount {
    color: #805ad5;
}

.price-label {
    font-size: 0.9rem;
    color: #718096;
     
}

.custom-input-section {
    margin: 16px 0;
}

.custom-input-group {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.custom-input-group:focus-within {
    border-color: #805ad5;
}

.currency-symbol {
    padding: 12px 10px 12px 16px;
     
    color: #4a5568;
    background: #f7fafc;
}

.custom-amount-input {
    flex: 1;
    padding: 12px 10px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.card-footer {
    padding: 0 24px 24px;
}

.donate-btn {
    width: 100%;
    background: linear-gradient(135deg, #38a169, #2f855a);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
     
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #2f855a, #276749);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.3);
}

.custom-btn {
    background: linear-gradient(135deg, #805ad5, #6b46c1);
}

.custom-btn:hover {
    background: linear-gradient(135deg, #6b46c1, #553c9a);
    box-shadow: 0 8px 25px rgba(128, 90, 213, 0.3);
}

/* Student Stories Section */
.student-stories {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
     
    color: #2d3748;
    text-align: center;
    margin-bottom: 50px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.story-item {
    background: #f7fafc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.story-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.story-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.story-item:hover .story-image img {
    transform: scale(1.05);
}

.story-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(56, 161, 105, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
}

.story-content {
    padding: 24px;
}

.story-content h3 {
    font-size: 1.2rem;
     
    color: #2d3748;
    margin-bottom: 12px;
}

.story-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.story-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.story-author strong {
    color: #38a169;
     
}

.story-author span {
    color: #718096;
    font-size: 0.9rem;
}

/* Program Activities Section */
.program-activities {
    padding: 80px 0;
    background: #f7fafc;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.activity-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.activity-image {
    height: 180px;
    overflow: hidden;
}

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

.activity-item:hover .activity-image img {
    transform: scale(1.05);
}

.activity-content {
    padding: 20px;
}

.activity-content h3 {
    font-size: 1.1rem;
     
    color: #2d3748;
    margin-bottom: 8px;
}

.activity-content p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Call to Action Section */
.student-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
     
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 10px;
    text-decoration: none;
     
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: #38a169;
    color: white;
}

.cta-btn.primary:hover {
    background: #2f855a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 161, 105, 0.4);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Modal Styles */
.student-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-container {
    background: white;
    margin: 2% auto;
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #38a169, #2f855a);
    color: white;
    padding: 28px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title h2 {
    font-size: 1.4rem;
     
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-content {
    padding: 32px;
}

.donation-summary {
    margin-bottom: 32px;
}

.summary-card {
    background: #f7fafc;
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e2e8f0;
}

.summary-card h3 {
    font-size: 1.2rem;
     
    color: #2d3748;
    margin-bottom: 12px;
}

.amount-display {
    font-size: 2.2rem;
     
    color: #38a169;
    margin-bottom: 10px;
}

.summary-note {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

.payment-methods {
    margin-bottom: 28px;
}

.methods-title {
    font-size: 1.2rem;
     
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.method-card {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
}

.method-card:hover {
    border-color: #38a169;
}

.method-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.method-header i {
    color: #38a169;
    font-size: 1.1rem;
}

.method-header h4 {
    font-size: 1rem;
     
    color: #2d3748;
}

.method-details {
    display: grid;
    gap: 6px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.detail-row .label {
     
    color: #4a5568;
    min-width: 110px;
}

.detail-row .value {
     
    color: #2d3748;
    text-align: right;
}

.phone-link {
    color: #48bb78;
    text-decoration: none;
     
}

.phone-link:hover {
    text-decoration: underline;
}

.confirmation-section {
    border-top: 2px solid #e2e8f0;
    padding-top: 28px;
}

.confirmation-card {
    background: #f0fff4;
    border: 2px solid #9ae6b4;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.confirmation-card i {
    color: #38a169;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.confirmation-card p {
    color: #2f855a;
    margin-bottom: 20px;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
     
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
    font-size: 0.9rem;
}

.action-btn.whatsapp {
    background: #25d366;
    color: white;
}

.action-btn.whatsapp:hover {
    background: #128c7e;
    transform: translateY(-1px);
}

.action-btn.call {
    background: #38a169;
    color: white;
}

.action-btn.call:hover {
    background: #2f855a;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .modal-container {
        margin: 5% auto;
        width: 95%;
    }
    
    .modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title,
    .section-header h2 {
        font-size: 2rem;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-title h2 {
        font-size: 1.2rem;
    }
    
    .custom-input-group {
        flex-direction: column;
    }
    
    .currency-symbol {
        border-radius: 8px 8px 0 0;
    }
    
    .custom-amount-input {
        border-radius: 0 0 8px 8px;
        text-align: center;
    }
}