/* Global Styles */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #1e40af;
    --success-color: #059669;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --accent-color: #3b82f6;
    --light-gray: #f8fafc;
    --dark-gray: #1e293b;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --blue-accent: #3b82f6;
    --blue-light: #dbeafe;
    --blue-dark: #1e40af;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #1e40af);
    --gradient-secondary: linear-gradient(135deg, #1e40af, #1e3a8a);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(59,130,246,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(59,130,246,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(59,130,246,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(59,130,246,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Market Overview */
.market-overview {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.market-overview h2 {
    color: var(--text-primary);
    font-weight: 600;
}

.market-overview .card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
}

.market-overview .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.market-overview .card-title {
    color: var(--blue-accent);
    font-weight: 600;
}

.market-overview .card-text {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.index-details {
    font-size: 0.9rem;
}

/* Stock List */
.stock-list {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.stock-list h2 {
    color: var(--text-primary);
    font-weight: 600;
}

.stock-filters .btn {
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 2px solid var(--blue-accent);
    color: var(--blue-accent);
    background: transparent;
}

.stock-filters .btn:hover {
    transform: translateY(-2px);
    background-color: var(--blue-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.stock-filters .btn.active {
    background-color: var(--blue-accent);
    color: white;
    border-color: var(--blue-accent);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.table {
    margin-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-color), var(--blue-accent));
    color: white;
    font-weight: 500;
    padding: 1rem;
    border: none;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.05);
    transform: scale(1.01);
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

/* Price Changes */
.price-up {
    color: var(--blue-accent);
    font-weight: 500;
}

.price-down {
    color: var(--danger-color);
    font-weight: 500;
}

/* Navigation */
.navbar {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, var(--primary-color), var(--blue-accent)) !important;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.9) !important;
}

.nav-link:hover {
    color: white !important;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.nav-link.active {
    color: white !important;
    background-color: rgba(255,255,255,0.2);
    border-radius: 8px;
}

/* Footer */
footer {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)) !important;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.8);
}

footer a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--blue-accent) !important;
}

/* Loading Animation */
.loading {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--blue-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .market-overview,
    .stock-list {
        padding: 1.5rem;
    }

    .stock-filters {
        margin-top: 1rem;
    }

    .stock-filters .btn {
        margin-bottom: 0.5rem;
    }

    .table td,
    .table th {
        padding: 0.75rem;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}

/* SIP Calculator Page Styles */
.section-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--blue-accent), var(--primary-color));
    border-radius: 2px;
}

.content-box {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.point {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(0, 0, 0, 0.05));
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.point:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(0, 0, 0, 0.1));
}

.point i {
    font-size: 2rem;
    color: var(--blue-accent);
    margin-bottom: 1rem;
}

.point h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--blue-accent);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-form {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(0, 0, 0, 0.05));
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

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

.calculator-form .form-control {
    border: 2px solid rgba(59, 130, 246, 0.2);
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.calculator-form .form-control:focus {
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    transform: translateY(-2px);
}

.result-box {
    background: linear-gradient(135deg, var(--blue-accent), var(--primary-color));
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.result-box h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.result-box p {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(0, 0, 0, 0.05));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(0, 0, 0, 0.1));
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--blue-accent);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .key-points {
        grid-template-columns: 1fr;
    }

    .calculator-form {
        padding: 1.5rem;
    }

    .result-box {
        margin-bottom: 1rem;
    }

    .benefit-card {
        margin-bottom: 1rem;
    }
}

/* Article Styles */
.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content .lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(0, 0, 0, 0.05));
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.info-box h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.feature-list-container {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-list-container h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.forecast-box {
    background: linear-gradient(135deg, var(--blue-accent), var(--primary-color));
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.forecast-box h2 {
    color: white;
    margin-bottom: 1rem;
}

.target-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.target-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.target-item h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.target-item p {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.target-item small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.conclusion-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(0, 0, 0, 0.05));
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.conclusion-box h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.disclaimer {
    background-color: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--blue-accent);
    padding: 1rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}

.disclaimer p {
    margin: 0;
    color: var(--text-primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .target-list {
        grid-template-columns: 1fr;
    }

    .info-box,
    .feature-list-container,
    .forecast-box,
    .conclusion-box {
        padding: 1.5rem;
    }
}

/* Real-time Features and Animations */
.table-row-updated {
    animation: highlightUpdate 2s ease-in-out;
    background-color: rgba(59, 130, 246, 0.1) !important;
}

@keyframes highlightUpdate {
    0% { background-color: rgba(59, 130, 246, 0.3); }
    100% { background-color: rgba(59, 130, 246, 0.1); }
}

.update-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--blue-accent);
    border-radius: 50%;
    margin-left: 5px;
    animation: pulse 1s infinite;
}

.price-change-indicator {
    font-size: 0.8rem;
    margin-left: 5px;
    animation: bounce 0.5s ease-in-out;
}

.price-change-indicator.up {
    color: #28a745;
}

.price-change-indicator.down {
    color: #dc3545;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

/* Live Mode Toggle */
.live-mode-toggle {
    margin-left: 1rem;
}

.live-mode-toggle .btn {
    position: relative;
    overflow: hidden;
}

.live-mode-toggle .pulse {
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(59, 130, 246, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-accent), var(--primary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    display: block;
}

/* Enhanced Button Styling */
.btn-primary {
    background: linear-gradient(135deg, var(--blue-accent), var(--primary-color));
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, var(--primary-color), var(--blue-accent));
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(0, 0, 0, 0.1));
    color: var(--text-primary);
    border-left: 4px solid var(--blue-accent);
}

/* Chart Section Styles */
.market-charts {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.chart-container {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.02), rgba(0, 0, 0, 0.02));
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.chart-controls {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(0, 0, 0, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    height: fit-content;
}

.chart-controls h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.chart-controls .btn-group .btn {
    border-radius: 6px;
    margin-right: 0.25rem;
    transition: all 0.3s ease;
}

.chart-controls .btn-group .btn.active {
    background-color: var(--blue-accent);
    border-color: var(--blue-accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.technical-indicators {
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding-top: 1rem;
}

.technical-indicators h6 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--blue-accent);
    border-color: var(--blue-accent);
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Chart Responsive Design */
@media (max-width: 768px) {
    .market-charts {
        padding: 1rem;
    }
    
    .chart-container {
        height: 300px;
        margin-bottom: 1rem;
    }
    
    .chart-controls {
        padding: 1rem;
    }
    
    .chart-controls .btn-group {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .chart-controls .btn-group .btn {
        flex: 1;
        min-width: 60px;
    }
}

/* Financial Calculator Styles */
.calculator-tabs {
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
    margin-bottom: 2rem;
}

.calculator-tabs .nav-link {
    border: none;
    border-radius: 8px 8px 0 0;
    margin-right: 0.5rem;
    padding: 1rem 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    transition: all 0.3s ease;
}

.calculator-tabs .nav-link:hover {
    color: var(--blue-accent);
    background: rgba(59, 130, 246, 0.05);
}

.calculator-tabs .nav-link.active {
    color: white;
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.calculator-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.calculator-form {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(0, 0, 0, 0.02));
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.calculator-form h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.calculator-form .form-control {
    border: 2px solid rgba(59, 130, 246, 0.2);
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.calculator-form .form-control:focus {
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.result-container {
    background: linear-gradient(135deg, var(--blue-accent), var(--primary-color));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.result-container h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.result-grid {
    display: grid;
    gap: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

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

.result-value {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Team Section Styles */
.team-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(0, 0, 0, 0.02));
    padding: 4rem 0;
    margin: 4rem 0;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--blue-accent);
}

.team-member h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member .position {
    color: var(--blue-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member .description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.team-social {
    margin-top: 1rem;
}

.team-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--blue-accent);
    color: white;
    border-radius: 50%;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Enhanced Content Styles */
.content-section {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.content-section h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(0, 0, 0, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-accent);
    margin-bottom: 0.5rem;
}

.stat-item .label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive Design for Financial Calculator */
@media (max-width: 768px) {
    .calculator-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        margin-right: 0.25rem;
    }
    
    .calculator-container {
        padding: 1rem;
    }
    
    .calculator-form {
        padding: 1.5rem;
    }
    
    .result-container {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .result-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
} 