/* financing.css */
/* Import Google Fonts - Roboto for excellent readability */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

/* Financing Page Styles - Scoped to .financing-page only */
.financing-page {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

.financing-page .financing-page-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Hero Section */
.financing-page .financing-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.financing-page .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.financing-page .hero-subtitle {
    font-size: 1.75rem;
    color: #3498db;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-weight: 600;
}

.financing-page .hero-description {
    font-size: 1.25rem;
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.financing-page .hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.financing-page .hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.financing-page .globe-animation {
    font-size: 12rem;
    color: #3498db;
    animation: financing-float 6s ease-in-out infinite;
}

@keyframes financing-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.financing-page .stat-bubble {
    position: absolute;
    background: white;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
    animation: financing-pulse 2s infinite;
}

.financing-page .stat-bubble:nth-child(1) {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.financing-page .stat-bubble:nth-child(2) {
    bottom: 20px;
    right: 20px;
    animation-delay: 1s;
}

@keyframes financing-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.financing-page .stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2c3e50;
}

.financing-page .stat-label {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* Process Steps */
.financing-page .process-section {
    padding: 5rem 0;
    background: white;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.financing-page .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.3px;
}

.financing-page .section-subtitle {
    font-size: 1.35rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.financing-page .process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.financing-page .process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.financing-page .process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.financing-page .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.financing-page .step-icon {
    font-size: 3.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.financing-page .process-step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.financing-page .process-step p {
    color: #5d6d7e;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Search Section */
.financing-page .university-search-section {
    padding: 5rem 0;
}

.financing-page .search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    margin: 2.5rem 0;
}

.financing-page .filter-group {
    display: flex;
    flex-direction: column;
}

.financing-page .filter-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.financing-page .filter-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
    background: white;
    color: #333;
    font-family: inherit;
}

.financing-page .filter-select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Universities Grid */
.financing-page .universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.financing-page .university-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.financing-page .university-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.financing-page .university-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.financing-page .university-logo {
    font-size: 3.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
    text-align: center;
}

.financing-page .university-name {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
    min-height: 4.2rem;
}

.financing-page .university-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.financing-page .university-programs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.financing-page .program-tag {
    background: #f8f9fa;
    color: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    transition: all 0.3s;
}

.financing-page .program-tag:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.financing-page .university-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Benefits Section */
.financing-page .benefits-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 3rem 0;
    border-radius: 20px;
}

.financing-page .benefits-section .section-title,
.financing-page .benefits-section .section-subtitle {
    color: white;
}

.financing-page .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.financing-page .benefit-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.financing-page .benefit-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.18);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.financing-page .benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.financing-page .benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}

.financing-page .benefit-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* CTA Section */
.financing-page .cta-section {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border-radius: 20px;
    margin: 3rem 0;
}

.financing-page .cta-content h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.financing-page .cta-content p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.financing-page .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.financing-page .btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* FAQ Section */
.financing-page .faq-section {
    padding: 5rem 0;
}

.financing-page .faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.financing-page .faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.financing-page .faq-question {
    width: 100%;
    padding: 1.75rem 2rem;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: background 0.3s;
}

.financing-page .faq-question:hover {
    background: #f8f9fa;
    color: #3498db;
}

.financing-page .faq-question i {
    transition: transform 0.3s;
    font-size: 1.2rem;
}

.financing-page .faq-question.active i {
    transform: rotate(180deg);
}

.financing-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.financing-page .faq-answer p {
    padding: 0 2rem 2rem;
    color: #5d6d7e;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

/* Modal */
.financing-page .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.financing-page .modal.active {
    display: flex;
}

.financing-page .modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    animation: financing-modalSlide 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes financing-modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.financing-page .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 20px 20px 0 0;
}

.financing-page .modal-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.financing-page .modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #7f8c8d;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.financing-page .modal-close:hover {
    background: #e0e0e0;
}

.financing-page .modal-body {
    padding: 2.5rem;
}

.financing-page .selection-confirmation {
    text-align: center;
}

.financing-page .confirmation-icon {
    font-size: 4.5rem;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

.financing-page .selection-confirmation h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.financing-page .selection-confirmation p {
    font-size: 1.2rem;
    color: #5d6d7e;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.financing-page .next-steps {
    text-align: left;
    margin: 2.5rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.financing-page .next-steps h5 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.financing-page .next-steps ol {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.financing-page .next-steps li {
    margin-bottom: 0.75rem;
    color: #5d6d7e;
    font-size: 1.1rem;
    line-height: 1.6;
}

.financing-page .modal-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Button styles specific to financing page */
.financing-page .btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    font-size: 1.1rem;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.financing-page .btn-primary {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.financing-page .btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.financing-page .btn-secondary {
    background-color: transparent;
    color: #3498db;
    border-color: #3498db;
}

.financing-page .btn-secondary:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.financing-page .btn-outline {
    background-color: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    font-weight: 600;
}

.financing-page .btn-outline:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
}

.financing-page .btn-link {
    background: none;
    border: none;
    color: #3498db;
    text-decoration: underline;
    padding: 0;
    font-size: 1rem;
    font-weight: 500;
}

.financing-page .btn-link:hover {
    color: #2980b9;
}

/* Results header */
.financing-page .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.financing-page .results-header h3 {
    font-size: 1.9rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 700;
}

.financing-page .results-count {
    color: #7f8c8d;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Load more button */
.financing-page .load-more {
    text-align: center;
    margin-top: 3.5rem;
}

/* Container */
.financing-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .financing-page .financing-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 0;
    }
    
    .financing-page .hero-title {
        font-size: 2.75rem;
    }
    
    .financing-page .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .financing-page .hero-description {
        font-size: 1.15rem;
    }
    
    .financing-page .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .financing-page .section-title {
        font-size: 2.25rem;
    }
    
    .financing-page .section-subtitle {
        font-size: 1.2rem;
    }
    
    .financing-page .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .financing-page .search-filters {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .financing-page .universities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .financing-page .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .financing-page .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .financing-page .process-step {
        padding: 2rem 1.5rem;
    }
    
    .financing-page .container {
        padding: 0 1.5rem;
    }
    
    .financing-page .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* Additional styles for JavaScript features */
.financing-page .btn-loading {
    position: relative;
    color: transparent !important;
}

.financing-page .btn-loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin-left: -12px;
    margin-top: -12px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: financing-spin 1s linear infinite;
}

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

/* No results and error states */
.financing-page .no-results,
.financing-page .error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.financing-page .no-results i,
.financing-page .error-message i {
    font-size: 4rem;
    color: #95a5a6;
    margin-bottom: 1.5rem;
}

.financing-page .error-message i {
    color: #e74c3c;
}

.financing-page .no-results h3,
.financing-page .error-message h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.financing-page .no-results p,
.financing-page .error-message p {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Selected university state */
.financing-page .university-card.selected {
    border: 3px solid #27ae60 !important;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.15) !important;
}

.financing-page .btn-success {
    background-color: #27ae60;
    color: white;
    border-color: #27ae60;
    font-weight: 600;
}

.financing-page .btn-success:hover {
    background-color: #219653;
    border-color: #219653;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Returning user banner */
.financing-page .returning-user-banner {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    animation: financing-slideDown 0.5s ease-out;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.2);
}

.financing-page .banner-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.financing-page .banner-content i {
    font-size: 2rem;
}

.financing-page .banner-content div {
    flex: 1;
}

.financing-page .banner-content strong {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.financing-page .banner-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

.financing-page .banner-link:hover {
    color: #f1f1f1;
    text-decoration: none;
}

.financing-page .banner-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.financing-page .banner-close:hover {
    background: rgba(255,255,255,0.3);
}

@keyframes financing-slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for new features */
@media (max-width: 768px) {
    .financing-page .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .financing-page .banner-content i {
        margin-bottom: 0.5rem;
    }
    
    .financing-page .banner-link {
        display: block;
        margin: 0.75rem 0 0 0;
    }
}

/* Print styles */
@media print {
    .financing-page .search-filters,
    .financing-page .hero-cta,
    .financing-page .university-actions,
    .financing-page .cta-buttons,
    .financing-page .modal,
    .financing-page .returning-user-banner {
        display: none !important;
    }
    
    .financing-page .university-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        margin-bottom: 1.5rem;
    }
    
    .financing-page {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .financing-page .hero-title {
        font-size: 24pt;
    }
    
    .financing-page .section-title {
        font-size: 18pt;
    }
}

/* Accessibility improvements */
.financing-page .btn:focus,
.financing-page .filter-select:focus,
.financing-page .faq-question:focus {
    outline: 3px solid rgba(52, 152, 219, 0.5);
    outline-offset: 2px;
}

.financing-page .btn:focus-visible,
.financing-page .filter-select:focus-visible,
.financing-page .faq-question:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .financing-page {
        color: #000;
    }
    
    .financing-page .hero-title,
    .financing-page .section-title,
    .financing-page .university-name,
    .financing-page .benefit-card h3 {
        color: #000;
    }
    
    .financing-page .hero-subtitle {
        color: #0056b3;
    }
    
    .financing-page .btn-primary {
        background-color: #0056b3;
        border-color: #0056b3;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .financing-page .globe-animation,
    .financing-page .stat-bubble,
    .financing-page .btn,
    .financing-page .university-card,
    .financing-page .benefit-card,
    .financing-page .process-step {
        animation: none;
        transition: none;
    }
    
    .financing-page .modal-content {
        animation: none;
    }
}

/* Returning Student Section */
.financing-page .returning-student-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    margin: 3rem 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.financing-page .returning-student-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.financing-page .returning-student-container {
    position: relative;
    z-index: 1;
}

.financing-page .returning-student-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.financing-page .returning-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.financing-page .returning-student-section .section-title {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.financing-page .returning-student-section .section-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.35rem;
    margin-bottom: 3rem;
}

.financing-page .returning-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.financing-page .returning-step {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.financing-page .returning-step:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.financing-page .returning-step .step-number {
    background: white;
    color: #27ae60;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.financing-page .returning-step .step-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.financing-page .returning-step h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.financing-page .returning-step p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.financing-page .returning-cta {
    margin-top: 3rem;
}

.financing-page .returning-note {
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.financing-page .returning-note i {
    margin-right: 0.5rem;
}

/* Returning Student Modal */
.financing-page .returning-modal {
    max-width: 700px;
}

.financing-page .form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}

.financing-page .form-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.financing-page .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.financing-page .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.financing-page .progress-step.active .step-circle {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.financing-page .step-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: center;
}

.financing-page .progress-step.active .step-label {
    color: #3498db;
    font-weight: 600;
}

.financing-page .form-step {
    display: none;
}

.financing-page .form-step.active {
    display: block;
    animation: financing-fadeIn 0.5s ease-out;
}

@keyframes financing-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.financing-page .step-header {
    margin-bottom: 2rem;
    text-align: center;
}

.financing-page .step-header h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.financing-page .step-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.6;
}

.financing-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.financing-page .form-group {
    margin-bottom: 1.75rem;
}

.financing-page .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.financing-page .form-group input,
.financing-page .form-group select,
.financing-page .form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.financing-page .form-group input:focus,
.financing-page .form-group select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.financing-page .form-help {
    display: block;
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.financing-page .file-upload-area {
    border: 2px dashed #3498db;
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
}

.financing-page .file-upload-area:hover {
    background: #e9ecef;
    border-color: #2980b9;
}

.financing-page .file-upload-area i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.financing-page .file-upload-area p {
    color: #5d6d7e;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.financing-page .browse-link {
    color: #3498db;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

.financing-page .file-types {
    font-size: 0.9rem !important;
    color: #7f8c8d !important;
}

.financing-page .file-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: none;
}

.financing-page .file-preview.active {
    display: block;
    animation: financing-fadeIn 0.3s ease-out;
}

.financing-page .phone-input {
    display: flex;
    gap: 0.75rem;
}

.financing-page .phone-input select {
    flex: 0 0 120px;
    padding: 0.875rem 1rem;
}

.financing-page .phone-input input {
    flex: 1;
}

.financing-page .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    color: #5d6d7e;
    line-height: 1.5;
}

.financing-page .checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
}

.financing-page .checkbox-label a {
    color: #3498db;
    text-decoration: underline;
}

.financing-page .checkbox-label a:hover {
    color: #2980b9;
}

.financing-page .review-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.financing-page .review-section {
    margin-bottom: 1.5rem;
}

.financing-page .review-section:last-child {
    margin-bottom: 0;
}

.financing-page .review-section h5 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.financing-page .review-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.financing-page .review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.financing-page .review-label {
    font-weight: 600;
    color: #5d6d7e;
}

.financing-page .review-value {
    color: #2c3e50;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.financing-page .form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

/* Success Modal */
.financing-page .success-modal {
    max-width: 600px;
}

.financing-page .success-content {
    text-align: center;
}

.financing-page .success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

.financing-page .success-content h4 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.financing-page .success-content p {
    color: #5d6d7e;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.financing-page .redirect-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.financing-page .redirect-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.financing-page .redirect-countdown i {
    color: #3498db;
}

.financing-page #countdown {
    color: #e74c3c;
    font-weight: 700;
}

.financing-page .redirect-note {
    font-size: 1rem !important;
    color: #7f8c8d !important;
    margin-bottom: 0 !important;
}

.financing-page .success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.financing-page .success-tips {
    text-align: left;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
}

.financing-page .success-tips h5 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.financing-page .success-tips ul {
    margin: 0;
    padding-left: 1.5rem;
}

.financing-page .success-tips li {
    color: #5d6d7e;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.financing-page .success-tips li:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .financing-page .returning-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .financing-page .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .financing-page .phone-input {
        flex-direction: column;
    }
    
    .financing-page .phone-input select {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .financing-page .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .financing-page .form-actions .btn {
        width: 100%;
    }
    
    .financing-page .success-actions {
        flex-direction: column;
    }
    
    .financing-page .success-actions .btn {
        width: 100%;
    }
}

/* Enhanced Floating Action Button */
.financing-page .floating-action-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: 'Roboto', sans-serif;
}

.financing-page .floating-action-menu {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* Main Floating Button */
.financing-page .floating-main-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
}

.financing-page .floating-main-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.5);
    background: linear-gradient(135deg, #2980b9, #1f6396);
}

.financing-page .floating-main-btn:active {
    transform: scale(1.05);
}

.financing-page .floating-main-btn i {
    font-size: 1.8rem;
    margin-bottom: 3px;
}

.financing-page .floating-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Enhanced Tooltips */
.financing-page .enhanced-tooltip {
    position: absolute;
    right: 85px;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 1000;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.financing-page .floating-main-btn:hover .main-tooltip,
.financing-page .floating-menu-item:hover .item-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: all;
}

.financing-page .tooltip-header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.financing-page .tooltip-header i {
    font-size: 1.5rem;
}

.financing-page .tooltip-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.financing-page .tooltip-content {
    padding: 1.5rem;
}

.financing-page .tooltip-content p {
    color: #5d6d7e;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
}

.financing-page .tooltip-tips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.financing-page .tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.financing-page .tip-item i {
    color: #3498db;
    font-size: 1.1rem;
}

.financing-page .tip-item span {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.financing-page .tooltip-list {
    margin: 0;
    padding-left: 1.5rem;
}

.financing-page .tooltip-list li {
    color: #5d6d7e;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.financing-page .tooltip-list li i {
    color: #27ae60;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.financing-page .tooltip-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.financing-page .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.financing-page .feature i {
    color: #3498db;
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.financing-page .feature div {
    flex: 1;
}

.financing-page .feature strong {
    display: block;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.financing-page .feature span {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.financing-page .assistance-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.financing-page .area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.financing-page .area:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.financing-page .area i {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.financing-page .area span {
    color: #2c3e50;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

.financing-page .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.financing-page .stat {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.financing-page .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.25rem;
}

.financing-page .stat-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
}

.financing-page .stat-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fff8e1;
    border-radius: 6px;
    border-left: 3px solid #f39c12;
}

.financing-page .stat-note i {
    color: #f39c12;
}

.financing-page .stat-note span {
    color: #8a6d3b;
    font-size: 0.85rem;
}

.financing-page .tooltip-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.financing-page .tooltip-footer small {
    color: #7f8c8d;
    font-size: 0.8rem;
    font-style: italic;
}

/* Floating Menu Items */
.financing-page .floating-menu-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.financing-page .floating-action-menu.active .floating-menu-items {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.financing-page .floating-menu-item {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
}

.financing-page .floating-menu-item:hover {
    transform: translateX(-5px) scale(1.15);
    background: #3498db;
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.financing-page .floating-menu-item:active {
    transform: translateX(-5px) scale(1.05);
}

.financing-page .floating-menu-item i {
    font-size: 1.3rem;
}

.financing-page .menu-label {
    position: absolute;
    right: 65px;
    background: white;
    color: #2c3e50;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
    pointer-events: none;
    border: 1px solid #e0e0e0;
    z-index: 1;
}

.financing-page .floating-menu-item:hover .menu-label {
    opacity: 1;
    transform: translateX(0);
}

.financing-page .menu-label::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid white;
}

/* Enhanced Support Widget */
.financing-page .floating-support-widget {
    position: absolute;
    bottom: 160px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 9;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.financing-page .floating-support-widget.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.financing-page .support-header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financing-page .support-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.financing-page .support-title i {
    font-size: 1.8rem;
}

.financing-page .support-title h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.financing-page .support-title small {
    opacity: 0.9;
    font-size: 0.85rem;
}

.financing-page .support-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background 0.3s;
}

.financing-page .support-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.financing-page .support-body {
    padding: 1.5rem;
}

.financing-page .support-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.financing-page .quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.financing-page .quick-action:hover {
    background: #3498db;
    border-color: #3498db;
    transform: translateY(-2px);
}

.financing-page .quick-action:hover i,
.financing-page .quick-action:hover span {
    color: white;
}

.financing-page .quick-action i {
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.financing-page .quick-action span {
    font-size: 0.85rem;
    color: #5d6d7e;
    font-weight: 500;
    text-align: center;
    transition: color 0.3s;
}

.financing-page .support-info {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.financing-page .support-info h5 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.financing-page .hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.financing-page .day {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e0e0e0;
}

.financing-page .day:last-child {
    border-bottom: none;
}

.financing-page .day span:first-child {
    color: #5d6d7e;
    font-weight: 500;
}

.financing-page .day span:last-child {
    color: #2c3e50;
    font-weight: 600;
}

.financing-page .support-contact h5 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.financing-page .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #e0e0e0;
}

.financing-page .contact-item:last-child {
    border-bottom: none;
}

.financing-page .contact-item i {
    color: #3498db;
    width: 20px;
    text-align: center;
}

.financing-page .contact-item a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.financing-page .contact-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.financing-page .contact-item span {
    color: #5d6d7e;
    font-weight: 500;
}

/* Quick Stats Modal */
.financing-page .stats-modal {
    max-width: 800px;
}

.financing-page .stats-container {
    padding: 1rem;
}

.financing-page .stats-overview {
    margin-bottom: 2rem;
}

.financing-page .stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s;
}

.financing-page .stat-card:hover {
    transform: translateY(-5px);
}

.financing-page .stat-card.large {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.financing-page .stat-card.large .stat-icon {
    font-size: 3rem;
    color: #3498db;
}

.financing-page .stat-card .stat-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.financing-page .stat-card.large .stat-content {
    flex: 1;
}

.financing-page .stat-card.large .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.financing-page .stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.financing-page .stat-card .stat-label {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 500;
}

.financing-page .stat-card.large .stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 500;
}

.financing-page .stats-grid-modal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.financing-page .stats-chart {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.financing-page .stats-chart h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.financing-page .chart-placeholder {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 200px;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.financing-page .chart-bar {
    flex: 1;
    background: linear-gradient(to top, #3498db, #2980b9);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.5s ease;
}

.financing-page .chart-bar::after {
    content: attr(data-month);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #7f8c8d;
    font-size: 0.85rem;
    font-weight: 500;
}

.financing-page .stats-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff8e1;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

.financing-page .stats-note i {
    color: #f39c12;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.financing-page .stats-note p {
    color: #8a6d3b;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .financing-page .floating-action-container {
        bottom: 20px;
        right: 20px;
    }
    
    .financing-page .floating-main-btn {
        width: 60px;
        height: 60px;
    }
    
    .financing-page .floating-main-btn i {
        font-size: 1.5rem;
    }
    
    .financing-page .enhanced-tooltip {
        width: 280px;
        right: 75px;
    }
    
    .financing-page .floating-menu-item {
        width: 50px;
        height: 50px;
    }
    
    .financing-page .floating-menu-item i {
        font-size: 1.2rem;
    }
    
    .financing-page .menu-label {
        display: none;
    }
    
    .financing-page .floating-support-widget {
        width: 300px;
        right: -10px;
    }
    
    .financing-page .support-quick-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .financing-page .assistance-areas {
        grid-template-columns: 1fr;
    }
    
    .financing-page .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .financing-page .stats-grid-modal {
        grid-template-columns: 1fr;
    }
    
    .financing-page .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .financing-page .floating-action-container {
        bottom: 15px;
        right: 15px;
    }
    
    .financing-page .floating-main-btn {
        width: 55px;
        height: 55px;
    }
    
    .financing-page .floating-main-btn i {
        font-size: 1.4rem;
    }
    
    .financing-page .floating-label {
        font-size: 0.7rem;
    }
    
    .financing-page .enhanced-tooltip {
        width: 250px;
        right: 70px;
    }
    
    .financing-page .floating-menu-item {
        width: 45px;
        height: 45px;
    }
    
    .financing-page .floating-menu-item i {
        font-size: 1.1rem;
    }
    
    .financing-page .floating-support-widget {
        width: 280px;
        right: -20px;
    }
    
    .financing-page .tooltip-header h4 {
        font-size: 1.1rem;
    }
    
    .financing-page .tooltip-content {
        padding: 1rem;
    }
}

/* Animation for tooltips */
@keyframes financing-tooltip-appear {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.financing-page .enhanced-tooltip {
    animation: financing-tooltip-appear 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Hover delay for smoother experience */
.financing-page .floating-main-btn .main-tooltip,
.financing-page .floating-menu-item .item-tooltip {
    transition-delay: 0.1s;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .financing-page .enhanced-tooltip {
        background: #2c3e50;
        border-color: #34495e;
        color: #ecf0f1;
    }
    
    .financing-page .tooltip-header {
        background: linear-gradient(135deg, #34495e, #3498db);
    }
    
    .financing-page .tooltip-content p {
        color: #bdc3c7;
    }
    
    .financing-page .tip-item,
    .financing-page .feature,
    .financing-page .area,
    .financing-page .stat {
        background: #34495e;
        border-color: #2c3e50;
    }
    
    .financing-page .tip-item span,
    .financing-page .feature strong,
    .financing-page .area span {
        color: #ecf0f1;
    }
    
    .financing-page .feature span {
        color: #bdc3c7;
    }
    
    .financing-page .tooltip-list li {
        color: #bdc3c7;
    }
    
    .financing-page .stat-number {
        color: #3498db;
    }
    
    .financing-page .stat-label {
        color: #bdc3c7;
    }
    
    .financing-page .stat-note {
        background: #34495e;
        border-left-color: #f39c12;
    }
    
    .financing-page .stat-note span {
        color: #f1c40f;
    }
    
    .financing-page .tooltip-footer {
        background: #34495e;
        border-top-color: #2c3e50;
    }
    
    .financing-page .tooltip-footer small {
        color: #bdc3c7;
    }
    
    .financing-page .menu-label {
        background: #2c3e50;
        color: white;
        border-color: #34495e;
    }
    
    .financing-page .menu-label::after {
        border-left-color: #2c3e50;
    }
    
    .financing-page .floating-support-widget {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .financing-page .support-body p,
    .financing-page .support-body li,
    .financing-page .day span,
    .financing-page .contact-item span {
        color: #bdc3c7;
    }
    
    .financing-page .quick-action {
        background: #34495e;
        border-color: #2c3e50;
    }
    
    .financing-page .quick-action i,
    .financing-page .quick-action span {
        color: #3498db;
    }
    
    .financing-page .quick-action:hover {
        background: #3498db;
        border-color: #3498db;
    }
    
    .financing-page .quick-action:hover i,
    .financing-page .quick-action:hover span {
        color: white;
    }
    
    .financing-page .day span:last-child {
        color: #ecf0f1;
    }
    
    .financing-page .contact-item a {
        color: #3498db;
    }
    
    .financing-page .contact-item a:hover {
        color: #2980b9;
    }
    
    .financing-page .stat-card {
        background: #34495e;
        border-color: #2c3e50;
    }
    
    .financing-page .stat-card .stat-number {
        color: #ecf0f1;
    }
    
    .financing-page .stats-chart {
        background: #34495e;
    }
    
    .financing-page .chart-placeholder {
        background: #2c3e50;
        border-color: #34495e;
    }
    
    .financing-page .chart-bar {
        background: linear-gradient(to top, #3498db, #2980b9);
    }
    
    .financing-page .stats-note {
        background: #34495e;
        border-left-color: #f39c12;
    }
    
    .financing-page .stats-note p {
        color: #f1c40f;
    }
}

/* Print styles - hide floating button */
@media print {
    .financing-page .floating-action-container,
    .financing-page .scroll-progress,
    .financing-page .back-to-top {
        display: none !important;
    }
}

/* Accessibility improvements */
.financing-page .floating-main-btn:focus,
.financing-page .floating-menu-item:focus {
    outline: 3px solid rgba(52, 152, 219, 0.5);
    outline-offset: 2px;
}

.financing-page .floating-main-btn:focus-visible,
.financing-page .floating-menu-item:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .financing-page .floating-main-btn,
    .financing-page .floating-menu-item,
    .financing-page .enhanced-tooltip,
    .financing-page .floating-support-widget {
        transition: none;
        animation: none;
    }
    
    .financing-page .floating-main-btn:hover,
    .financing-page .floating-menu-item:hover {
        transform: none;
    }
}

/* Faster animations for hover dropdown */
.financing-page .floating-menu-items {
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.financing-page .floating-action-menu.active .floating-menu-items {
    transition-delay: 0s;
}

/* Ensure menu items are visible immediately on hover */
.financing-page .floating-menu-item {
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Mobile-specific: keep click functionality */
@media (max-width: 768px) {
    .financing-page .floating-main-btn:hover .floating-menu-items {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
        pointer-events: none;
    }
    
    .financing-page .floating-action-menu.active .floating-menu-items {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }
}

/* Enhanced Tooltips - Updated positioning for ALL tooltips */
.financing-page .enhanced-tooltip {
    position: absolute;
    right: 85px;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) translateY(-20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 1000;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.financing-page .floating-main-btn:hover .main-tooltip,
.financing-page .floating-menu-item:hover .item-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(-20px);
    pointer-events: all;
}

/* Main button tooltip specific positioning */
.financing-page .floating-main-btn .main-tooltip {
    top: -180px; /* Move main tooltip even higher */
    bottom: auto;
}

/* Menu item tooltips positioning - ALL sub-menu items */
.financing-page .floating-menu-item .item-tooltip {
    top: -150px; /* Move all sub-menu tooltips higher */
    bottom: auto;
}

/* Specific positioning for each sub-menu item if needed */
.financing-page #floatingAccessBtn .item-tooltip {
    top: -160px; /* Slightly higher for Access Financing */
}

.financing-page #floatingSearchBtn .item-tooltip {
    top: -155px; /* Slightly different for Search Universities */
}

.financing-page #floatingContactBtn .item-tooltip {
    top: -170px; /* Slightly different for Get Help */
}

.financing-page #floatingStatsBtn .item-tooltip {
    top: -165px; /* Slightly different for Quick Stats */
}

/* Adjust arrow position for higher tooltips */
.financing-page #floatingContactBtn .item-tooltip::after {
    top: 60%; /* Adjust arrow position for higher tooltip */
}

.financing-page #floatingStatsBtn .item-tooltip::after {
    top: 60%; /* Adjust arrow position for higher tooltip */
}

.financing-page .tooltip-header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.financing-page .tooltip-header i {
    font-size: 1.5rem;
}

.financing-page .tooltip-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.financing-page .tooltip-content {
    padding: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.financing-page .tooltip-content p {
    color: #5d6d7e;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Add arrow pointing to the button for better visual connection */
.financing-page .floating-main-btn .main-tooltip::after,
.financing-page .floating-menu-item .item-tooltip::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
}

/* Adjust arrow position for main button */
.financing-page .floating-main-btn .main-tooltip::after {
    top: 50%;
    right: -10px;
}

/* Adjust arrow position for menu items */
.financing-page .floating-menu-item .item-tooltip::after {
    top: 50%;
    right: -10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .financing-page .enhanced-tooltip {
        width: 280px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-120%);
        top: auto;
        bottom: 80px;
    }
    
    .financing-page .floating-main-btn:hover .main-tooltip,
    .financing-page .floating-menu-item:hover .item-tooltip {
        transform: translateX(-50%) translateY(-120%);
    }
    
    .financing-page .floating-main-btn .main-tooltip {
        bottom: 80px;
        top: auto;
    }
    
    .financing-page .floating-menu-item .item-tooltip {
        bottom: 70px;
        top: auto;
    }
    
    /* Remove arrows on mobile */
    .financing-page .floating-main-btn .main-tooltip::after,
    .financing-page .floating-menu-item .item-tooltip::after {
        display: none;
    }
    
    /* Add arrow pointing down on mobile */
    .financing-page .enhanced-tooltip::before {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid white;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .financing-page .enhanced-tooltip {
        width: 250px;
    }
}

/* Ensure tooltips don't go off screen on smaller laptops */
@media (max-width: 1366px) and (min-width: 769px) {
    .financing-page .floating-main-btn .main-tooltip {
        top: -160px; /* Slightly lower for smaller laptop screens */
    }
    
    .financing-page .floating-menu-item .item-tooltip {
        top: -130px; /* Slightly lower for smaller laptop screens */
    }
}

/* For very large screens */
@media (min-width: 1920px) {
    .financing-page .floating-main-btn .main-tooltip {
        top: -200px; /* Even higher for large screens */
    }
    
    .financing-page .floating-menu-item .item-tooltip {
        top: -170px; /* Even higher for large screens */
    }
}

/* Quick fix - Make tooltips interactive */
.financing-page .enhanced-tooltip {
    pointer-events: auto;
}

.financing-page .enhanced-tooltip:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(-20px);
}