/* Custom Font Styling */
.font-geist-mono {
    font-family: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, 'Cascadia Mono', monospace;
}

/* Base Font Settings */
body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Montserrat', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Financial chart container styling */
.chart-container {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    background: linear-gradient(135deg, #111827, #1e3a8a);
}

/* Filter button styling */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #2563eb;
    color: white;
}

/* Project card hover effects */
.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Modal animation */
#project-modal {
    transition: opacity 0.3s ease;
}

#project-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#project-modal.showing {
    opacity: 1;
    pointer-events: auto;
}

/* Progress bar animation */
@keyframes progressAnimation {
    0% { width: 0; }
    100% { width: var(--progress-width); }
}

.h-2.bg-blue-600, .h-2.bg-green-600 {
    animation: progressAnimation 1.5s ease-out forwards;
}

/* Form focus states */
input:focus, textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Gradient overlay for project images */
.project-card .h-48::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    pointer-events: none;
}

/* Award item hover effect */
.bg-white.rounded-xl.border {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-xl.border:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Contact form input animation */
.contact-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/* Chart tooltip styling */
.chartjs-tooltip {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    pointer-events: none;
}

/* Custom animation for icons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.icon-pulse {
    animation: pulse 2s infinite;
}

/* Mobile menu toggle animation */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 300px;
    opacity: 1;
}
