/* Professional Dental Treatment Support Page Styles */

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #f7fafc;
     
}

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

/* Professional Header */
.dental-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.dental-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../assets/Appeals/paramedic/dental-header-pattern.svg') repeat;
    opacity: 0.1;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

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

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

.header-title {
    font-size: 3.2rem;
     
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.header-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 48px;
     
    line-height: 1.6;
}

.header-metrics {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}

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

.metric-value {
    display: block;
    font-size: 2rem;
     
    color: #ffd700;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.9;
     
}

/* About Section */
.dental-about {
    padding: 100px 0;
    background: white;
}

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

.section-header {
    margin-bottom: 32px;
}

.section-tag {
    display: inline-block;
    background: #e6fffa;
    color: #319795;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
     
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 2.5rem;
     
    color: #2d3748;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

.section-description {
    font-size: 1.125rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-description {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #edf2f7;
    transform: translateX(4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    color: white;
    font-size: 1.25rem;
}

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

.service-content p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-visual {
    position: relative;
}

.visual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.visual-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 32px 32px;
}

.visual-stats {
    display: flex;
    justify-content: space-around;
    color: white;
}

.stat {
    text-align: center;
}

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

.stat-text {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Treatment Options */
.treatment-options {
    padding: 100px 0;
    background: #f7fafc;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

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

.option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.option-card.featured {
    border-color: #ffd700;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #2d3748;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
     
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-header {
    text-align: center;
    margin-bottom: 32px;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.basic .card-icon {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.standard .card-icon {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
}

.premium .card-icon {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
}

.emergency .card-icon {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
}

.comprehensive .card-icon {
    background: linear-gradient(135deg, #9f7aea, #805ad5);
    color: white;
}

.custom .card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.card-title {
    font-size: 1.375rem;
     
    color: #2d3748;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-subtitle {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-content {
    text-align: center;
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 24px;
}

.currency {
    font-size: 1.25rem;
     
    color: #718096;
    margin-right: 4px;
}

.amount {
    font-size: 2.5rem;
     
    color: #2d3748;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

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

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

.custom-input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-currency {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
     
    color: #718096;
    z-index: 2;
}

.custom-input {
    width: 100%;
    padding: 16px 16px 16px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.125rem;
    text-align: center;
    transition: border-color 0.3s ease;
    background: #f7fafc;
}

.custom-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
}

.custom-note {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 24px;
}

.donate-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
     
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donate-button:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Impact Stories */
.impact-stories {
    padding: 100px 0;
    background: white;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 64px;
}

.story-card {
    text-align: center;
    padding: 40px 32px;
    background: #f7fafc;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
}

.story-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.story-icon i {
    font-size: 2rem;
    color: white;
}

.story-card h3 {
    font-size: 1.375rem;
     
    color: #2d3748;
    margin-bottom: 16px;
}

.story-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 24px;
}

.story-stat {
    border-top: 2px solid #e2e8f0;
    padding-top: 20px;
}

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

.story-stat .stat-label {
    font-size: 0.875rem;
    color: #718096;
     
}

/* Professional Modal */
.dental-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: 24px;
    width: 90%;
    max-width: 700px;
    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(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 32px;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    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: 40px;
}

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

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

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

.amount-display {
    font-size: 2.5rem;
     
    color: #667eea;
    margin-bottom: 12px;
}

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

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

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

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

.method-card:hover {
    border-color: #667eea;
}

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

.method-header i {
    color: #667eea;
    font-size: 1.25rem;
}

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

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

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

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

.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: 32px;
}

.confirmation-card {
    background: #e6fffa;
    border: 2px solid #81e6d9;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.confirmation-card i {
    color: #319795;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.confirmation-card p {
    color: #2c7a7b;
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
     
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

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

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

.action-btn.call {
    background: #667eea;
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.125rem;
    }
    
    .header-metrics {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .option-card.featured {
        transform: none;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .modal-container {
        margin: 5% auto;
        width: 95%;
    }
    
    .modal-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .option-card {
        padding: 24px;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .modal-header {
        padding: 24px;
    }
    
    .modal-title h2 {
        font-size: 1.25rem;
    }
}