/* Custom CSS for FreeBudgetCalc.com */
/* Building upon Bootstrap's dark theme */

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

:root {
    /* Google-inspired modern color palette */
    --primary-blue: #4285f4;
    --primary-green: #34a853;
    --primary-yellow: #fbbc05;
    --primary-red: #ea4335;
    --primary-purple: #9c27b0;
    --primary-indigo: #673ab7;
    
    /* Modern gradients */
    --gradient-main: linear-gradient(135deg, #4285f4 0%, #34a853 25%, #fbbc05 50%, #ea4335 75%, #9c27b0 100%);
    --gradient-cool: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-info: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-danger: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
    
    /* Neutral colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-light: #ffffff;
    
    /* Shadows and effects */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.2);
    --shadow-xl: 0 16px 40px rgba(0,0,0,0.25);
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* General Enhancements */
body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Remove all gaps between sections */
section {
    margin: 0 !important;
}

/* Text-to-Speech Button Mobile Responsiveness */
@media (max-width: 768px) {
    .tts-button {
        display: none !important;
    }
    
        display: none !important;
    }
}

/* Show TTS buttons only on desktop and tablets */
@media (min-width: 769px) {
    .tts-button {
        display: inline-block !important;
    }
    
        display: block !important;
    }
}

.hero-section + section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@300;400;500;700&display=swap');

/* Remove excessive spacing */
.container {
    max-width: 1200px;
}

/* Optimize section spacing - reduce gaps */
section {
    padding: 1.5rem 0;
}

.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.my-4 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-5 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.mt-5 {
    margin-top: 1.5rem !important;
}

/* Navigation Enhancements */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    margin: 0 0.2rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-yellow) !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar-toggler {
    border: 2px solid white;
    border-radius: var(--radius-sm);
}

/* Modern Card Styles */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    background: var(--bg-primary);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: var(--gradient-main);
    color: var(--text-light);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

.card-body {
    padding: 2rem;
}

/* Modern Button Styles */
.btn {
    border-radius: var(--radius-md);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: none;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-cool);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-cool);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-success);
}

.btn-info {
    background: var(--gradient-info);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-info);
}

.btn-warning {
    background: var(--gradient-warning);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-warning);
}

.btn-danger {
    background: var(--gradient-danger);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-danger);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

/* Modern Form Styling */
.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.25);
    transform: translateY(-1px);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.input-group-text {
    background: var(--gradient-cool);
    color: white;
    border: none;
    font-weight: 600;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.form-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Modern Alert Styling */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 25%, #fbbc05 50%, #ea4335 75%, #9c27b0 100%);
    color: white;
    padding: 1rem 0 0.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
}

/* Mobile responsive hero title */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }
}

.hero-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 1000 100" fill="rgba(255,255,255,0.1)"><path d="M0,50 Q250,0 500,50 T1000,50 L1000,100 L0,100 Z"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Calculator Grid */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.calculator-icon {
    width: 80px;
    height: 80px;
    margin: 2rem auto 1.5rem;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.calculator-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.calculator-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.calculator-card .btn {
    margin-top: auto;
}

/* Feature badges */
.feature-badge {
    display: inline-block;
    background: var(--gradient-info);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.25rem;
    box-shadow: var(--shadow-sm);
}

/* Footer styling */
.footer-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4285f4 100%);
    position: relative;
    overflow: hidden;
}

.footer-gradient::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 1000 100" fill="rgba(255,255,255,0.1)"><path d="M0,0 Q250,50 500,0 T1000,0 L1000,100 L0,100 Z"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
}

.footer-gradient .container {
    position: relative;
    z-index: 1;
}

.footer-gradient a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-gradient a:hover {
    color: white;
    text-decoration: none;
}

/* FAQ Header Styles */
.faq-header-primary {
    background: var(--gradient-cool);
    border: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 1rem 1.5rem;
}

.faq-header-success {
    background: var(--gradient-success);
    border: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 1rem 1.5rem;
}

.faq-header-info {
    background: var(--gradient-info);
    border: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 1rem 1.5rem;
}

.faq-header-warning {
    background: var(--gradient-warning);
    border: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 1rem 1.5rem;
}

.faq-header-danger {
    background: var(--gradient-danger);
    border: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 1rem 1.5rem;
}

.faq-header-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 1rem 1.5rem;
}

.faq-header-primary .btn-link,
.faq-header-success .btn-link,
.faq-header-info .btn-link,
.faq-header-warning .btn-link,
.faq-header-danger .btn-link,
.faq-header-secondary .btn-link {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-size: 1.1rem;
}

.faq-header-primary .btn-link:hover,
.faq-header-success .btn-link:hover,
.faq-header-info .btn-link:hover,
.faq-header-warning .btn-link:hover,
.faq-header-danger .btn-link:hover,
.faq-header-secondary .btn-link:hover {
    color: rgba(255,255,255,0.9) !important;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Calculator Cards */
.calculator-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

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

/* Colorful card headers */
.calculator-card .card-header {
    border-radius: 15px 15px 0 0 !important;
    border: none;
    font-weight: 600;
}

.calculator-card:nth-child(1) .card-header {
    background: var(--calculator-gradient);
}

.calculator-card:nth-child(2) .card-header {
    background: var(--calculator-gradient-2);
    color: #1f2937;
}

.calculator-card:nth-child(3) .card-header {
    background: var(--calculator-gradient-3);
    color: #1f2937;
}

.calculator-card:nth-child(4) .card-header {
    background: var(--calculator-gradient-4);
    color: #1f2937;
}

.calculator-card:nth-child(5) .card-header {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    color: #1f2937;
}

.calculator-card:nth-child(6) .card-header {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #1f2937;
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: #1e293b;
}

/* Form Enhancements */
.form-control, .form-select {
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    color: #1e293b;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: #ffffff;
    border-color: var(--calculator-primary);
    color: #1e293b;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    transform: scale(1.02);
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.input-group-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #667eea;
    color: white;
    font-weight: 600;
    border-radius: 10px 0 0 10px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.form-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Button Enhancements */
.btn {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

/* Calculator Result Cards */
.result-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bs-primary);
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.result-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chart Containers */
.chart-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Table Enhancements */
.table-dark {
    background-color: rgba(255, 255, 255, 0.05);
}

.table-dark th {
    background-color: rgba(13, 110, 253, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.table-dark td {
    border-color: rgba(255, 255, 255, 0.1);
}

.table-striped-dark > tbody > tr:nth-of-type(odd) > td,
.table-striped-dark > tbody > tr:nth-of-type(odd) > th {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
    background: var(--calculator-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--calculator-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Icon positioning adjustment */
.feature-icon, .icon, .fa, .bi {
    margin-top: 6px; /* Adjust to taste: 4px–8px works well */
}

/* Container for the feature section (assumes Flexbox or Grid layout) */
.feature-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1rem;
}

/* Individual feature item */
.feature-item {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  padding: 1rem;
}

/* Icon styling */
.feature-item .icon {
  font-size: 3rem;         /* Large and visible */
  margin-bottom: 0.75rem;  /* Space below icon */
  margin-top: 1.5rem;      /* Push icons down from top */
  display: inline-block;
}

/* Headline below icon */
.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Supporting text */
.feature-item p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .feature-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .feature-item .icon {
    font-size: 2.5rem;
    margin-top: 0.75rem;
  }
}

@media (max-width: 480px) {
  .feature-item .icon {
    font-size: 2rem;
    margin-top: 1rem;
  }

  .feature-item h3 {
    font-size: 1.1rem;
  }

  .feature-item p {
    font-size: 0.95rem;
  }
}

/* Loading Animation */
.loading-spinner {
    display: none;
    width: 2rem;
    height: 2rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
}



/* Accessibility Enhancements */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus Indicators */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.footer-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.2rem 0;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

.legal-disclaimer {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    color: #f0f0f0;
    line-height: 1.5;
}

.legal-disclaimer strong {
    color: #ffffff;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Tooltip Enhancements */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

/* Progress Bar for Calculations */
.calculation-progress {
    height: 4px;
    background: var(--calculator-gradient);
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.calculation-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progress-loading 1.5s infinite;
}

@keyframes progress-loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Success/Error States */
.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #155724 !important;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #721c24 !important;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.2);
    color: #055160 !important;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: #664d03 !important;
}

.alert-primary {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #084298 !important;
}

.alert-secondary {
    background-color: rgba(108, 117, 125, 0.1);
    border-color: rgba(108, 117, 125, 0.2);
    color: #41464b !important;
}

.alert-dark {
    background-color: rgba(33, 37, 41, 0.1);
    border-color: rgba(33, 37, 41, 0.2);
    color: #1c1f23 !important;
}

.alert-light {
    background-color: rgba(248, 249, 250, 0.1);
    border-color: rgba(248, 249, 250, 0.2);
    color: #636464 !important;
}

/* Footer Enhancements */
footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
    color: var(--bs-primary);
    font-weight: 600;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

/* ==============================================
   TEXT-TO-SPEECH SYSTEM STYLES (UNIFIED DROPDOWN)
   ============================================== */

/* TTS Control Panel - Now using unified dropdown in navigation */

    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    border-radius: 12px;
    margin: 0;
    cursor: pointer;
}

    border-radius: 12px 12px 0 0;
}

    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

    background: rgba(255, 255, 255, 0.2);
}

    padding: 12px;
    max-height: 450px;
    overflow-y: auto;
}

    margin-bottom: 12px;
}

    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* TTS select styling removed - now using unified dropdown */
    align-items: center;
    justify-content: center;
    gap: 4px;
}

    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
}

    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

.tts-progress-container {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.tts-progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.tts-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4285f4 0%, #34a853 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.tts-progress-text {
    font-size: 11px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

/* TTS Read Buttons */
.tts-read-btn, .tts-toggle-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: #ffffff !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    opacity: 0.95;
    transition: all 0.3s;
    z-index: 15;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.5);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.tts-toggle-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    right: 40px;
    color: #ffffff !important;
    font-weight: 900;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.tts-read-btn:hover, .tts-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.5);
}

.tts-toggle-btn:hover {
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.5);
}

/* Show read buttons on hover and make them more visible */
*:hover > .tts-read-btn, *:hover > .tts-toggle-btn {
    opacity: 1;
    transform: scale(1.05);
}

/* Make buttons always visible on country tabs */
.country-financial-tab {
    position: relative;
    border: 1px solid rgba(52, 168, 83, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(52, 168, 83, 0.03);
    color: #000000 !important;
}

.country-financial-tab * {
    color: #000000 !important;
}

.country-financial-tab h1, .country-financial-tab h2, .country-financial-tab h3, 
.country-financial-tab h4, .country-financial-tab h5, .country-financial-tab h6 {
    color: #000000 !important;
    font-weight: 600;
}

.country-financial-tab p, .country-financial-tab li, .country-financial-tab span {
    color: #000000 !important;
}

.country-financial-tab .tts-read-btn, .country-financial-tab .tts-toggle-btn {
    opacity: 1;
    background: linear-gradient(135deg, #34a853 0%, #137333 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    top: 10px;
    right: 10px;
    color: #ffffff !important;
    font-weight: 900;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.country-financial-tab .tts-read-btn:hover, .country-financial-tab .tts-toggle-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(52, 168, 83, 0.6);
}

/* Special styling for different content types */
h1:hover > .tts-read-btn, h2:hover > .tts-read-btn, h3:hover > .tts-read-btn,
h4:hover > .tts-read-btn, h5:hover > .tts-read-btn, h6:hover > .tts-read-btn {
    top: 4px;
}

.card-body:hover > .tts-read-btn, .card-body:hover > .tts-toggle-btn {
    top: 12px;
    right: 12px;
}

.alert:hover > .tts-read-btn, .alert:hover > .tts-toggle-btn {
    top: 12px;
    right: 12px;
}

/* Ensure tab content areas have proper positioning */
.tab-content {
    position: relative;
}

.tab-pane {
    position: relative;
}

/* Reading highlight effect */
.tts-reading {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(52, 168, 83, 0.1) 100%);
    border: 2px solid rgba(66, 133, 244, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(66, 133, 244, 0.2);
    animation: tts-reading-pulse 2s infinite;
}

@keyframes tts-reading-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(66, 133, 244, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(66, 133, 244, 0.4);
    }
}

/* Mobile responsiveness - Hide desktop TTS completely */
@media (max-width: 991px) {
        display: none !important;
    }
    
    .tts-read-btn, .tts-toggle-btn {
        display: none !important;
    }
}
    
        flex-direction: column;
    }
    
        min-width: auto;
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .tts-read-btn, .tts-toggle-btn {
        opacity: 1;
        top: 4px;
        right: 4px;
        width: 28px;
        height: 28px;
        font-size: 14px;
        font-weight: 900;
        color: #ffffff !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .tts-toggle-btn {
        right: 32px;
    }
}

/* Tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
        width: 280px;
        top: 75px;
        z-index: 1050;
    }
    
    .tts-select {
        font-size: 11px;
        max-height: 100px;
    }
}

/* Large screens - move panel further right to avoid content overlap */
@media (min-width: 1200px) {
        right: 20px;
        width: 320px;
    }
}

/* Extra wide screens */
@media (min-width: 1600px) {
        right: calc((100vw - 1200px) / 2 - 340px);
        width: 320px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
        background: rgba(32, 33, 36, 0.98);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
        color: #e8eaed;
    }
    
    .tts-select {
        background: #2d2e30;
        color: #e8eaed;
        border-color: #5f6368;
    }
    
    .tts-progress-text {
        color: #9aa0a6;
    }
    
    .tts-progress-container {
        border-color: #5f6368;
    }
}

/* Accessibility improvements */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(66, 133, 244, 0.4);
}

    outline: 2px solid rgba(66, 133, 244, 0.5);
    outline-offset: 2px;
}

.tts-select:focus {
    outline: 2px solid rgba(66, 133, 244, 0.5);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
        border: 2px solid #000;
    }
    
        border: 1px solid #000;
    }
    
    .tts-reading {
        border: 3px solid #000;
    }
}

footer a:hover {
    color: var(--bs-primary);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bs-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Financial Terms Tooltips */
.financial-term {
    border-bottom: 1px dotted var(--calculator-info);
    cursor: help;
    color: var(--calculator-info);
    font-weight: 500;
    transition: all 0.3s ease;
}

.financial-term:hover {
    color: var(--calculator-primary);
    border-bottom-color: var(--calculator-primary);
}

/* Read Aloud Controls */
.read-aloud-controls {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.read-aloud-btn {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.read-aloud-btn:hover {
    transform: scale(1.05);
}

.voice-settings-panel {
    background: rgba(248, 249, 250, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}

.voice-settings-panel .form-label {
    font-weight: 600;
    margin-bottom: 3px;
}

.voice-settings-panel .form-range {
    margin-bottom: 5px;
}

.voice-settings-panel .form-select {
    font-size: 12px;
}

/* Enhanced Tooltip customization */
.tooltip {
    font-size: 12px;
}

.tooltip .tooltip-inner {
    background-color: var(--calculator-dark);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    max-width: 250px;
    text-align: left;
}

.tooltip .tooltip-arrow {
    display: none;
}

/* New SEO Enhancement Styles */

/* Testimonial Styles */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Blog Styles */
.featured-article {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: var(--radius-lg);
}

.featured-article .badge {
    background: rgba(255,255,255,0.2) !important;
    color: white;
}

.article-card {
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-3px);
}

/* FAQ Header Colors */
.faq-header-primary {
    background: var(--gradient-main);
}

.faq-header-success {
    background: var(--gradient-success);
}

.faq-header-info {
    background: var(--gradient-info);
}

.faq-header-warning {
    background: var(--gradient-warning);
}

.faq-header-secondary {
    background: var(--gradient-cool);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-secondary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-green);
}

/* Mobile TTS Controls */
#mobile-tts-menu {
    min-width: 300px;
    max-width: 350px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: none;
    background: white;
    z-index: 9999;
    position: absolute;
}

#mobile-tts-menu .dropdown-header {
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.75rem 0 0.5rem 0;
    border-bottom: 1px solid var(--bg-tertiary);
    margin-bottom: 1rem;
}

#mobile-tts-menu .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

#mobile-tts-menu .form-select {
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

#mobile-tts-menu .form-range {
    margin-bottom: 0.25rem;
}

#mobile-tts-menu .text-muted {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

#mobile-tts-menu .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

#mobile-tts-menu .btn-primary {
    background: var(--primary-blue);
    border: none;
}

#mobile-tts-menu .btn-primary:hover {
    background: var(--primary-green);
}

#mobile-tts-menu .btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: none;
}

#mobile-tts-menu .btn-secondary:hover {
    background: var(--primary-red);
    color: white;
}

/* Ensure mobile TTS menu has proper z-index */
#mobile-tts-menu {
    z-index: 9999;
}

/* Mobile TTS Panel Styles */
    position: fixed;
    top: 70px;
    left: 10px;
    right: 10px;
    z-index: 9999;
    max-width: 400px;
    margin: 0 auto;
}

/* Hide mobile TTS on desktop */
@media (min-width: 992px) {
        display: none !important;
    }
}

    background: white !important;
    border: 1px solid #dee2e6;
    color: #212529;
}

    color: #495057;
    font-weight: 500;
}

    color: #6c757d;
}

#mobile-tts-toggle {
    border: none;
    text-decoration: none;
    color: white !important;
}

#mobile-tts-toggle:hover {
    color: #f8f9fa !important;
    background: rgba(255, 255, 255, 0.1);
}

#mobile-tts-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

/* Mobile TTS Fix - Version: 20250716-1556 */
@media (max-width: 768px) {
  /* Make the Text-to-Speech button smaller in the navbar */
  .tts-dropdown .dropdown-toggle {
    font-size: 0.85rem;
    padding: 6px 10px;
    height: auto;
    border-radius: 8px;
    background-color: #673ab7; /* Optional: brand color */
    white-space: nowrap;
  }

  /* Resize the dropdown panel */
  .tts-dropdown .dropdown-menu {
    font-size: 0.9rem;
    width: 95vw;
    left: auto !important;
    right: 0 !important;
    margin-top: 8px;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Tweak spacing between items */
  .tts-dropdown .dropdown-menu label,
  .tts-dropdown .dropdown-menu input,
  .tts-dropdown .dropdown-menu select {
    margin-bottom: 0.8rem;
  }

  /* Adjust the voice test/read/stop buttons */
  .tts-dropdown .dropdown-menu button {
    padding: 8px 12px;
    font-size: 0.85rem;
    margin: 0.25rem;
  }
}
